Go to
hazelcast.org/documentation
Documentation
Version: 3.5 - Publication Date : Jun 17, 2015
Preface
What's New in Hazelcast 3.5
Release Notes
New Features
Enhancements
Fixes
Upgrading Hazelcast
Upgrading from 2.x
Upgrading from 3.x
Document Revision History
Getting Started
Installation
Hazelcast
Hazelcast Enterprise
Starting the Instance and Client
Deploying On Amazon EC2
Configuring Hazelcast
Overview
Hazelcast Overview
Why Hazelcast?
Data Partitioning
How the Data is Partitioned
Partition Table
Repartitioning
Use Cases
Resources
Hazelcast Clusters
Hazelcast Cluster Discovery
Multicast Auto-Discovery
Discovery by TCP
EC2 Cloud Auto-discovery
Creating Cluster Groups
Distributed Data Structures
Map
Map Overview
Map Backups
Map Eviction
In Memory Format
Map Persistence
Near Cache
Map Locks
Entry Statistics
Map Listener
Interceptors
OOM Prevention
Queue
Queue Overview
Sample Queue Code
Bounded Queue
Queue Persistence
Configuring Queue
MultiMap
Sample MultiMap Code
Configuring MultiMap
Set
Sample Set Code
Event Registration and Configuration for Set
List
Sample List Code
Event Registration and Configuration for List
RingBuffer
Topic
Sample Topic Code
Statistics
Internals
Configuring Topic
Lock
ICondition
IAtomicLong
ISemaphore
IAtomicReference
ICountDownLatch
IdGenerator
Replicated Map
For Consideration
Breakage of the Map-Contract
Technical Design
Replicated Map Configuration
EntryListener on Replicated Map
Distributed Events
Event Listeners for Hazelcast Nodes
Membership Listener
Distributed Object Listener
Migration Listener
Partition Lost Listener
Lifecycle Listener
Item Listener
Message Listener
Client Listener
Event Listeners for Hazelcast Clients
Global Event Configuration
Distributed Computing
Executor Service
Executor Overview
Execution
Execution Cancellation
Execution Callback
Execution Member Selection
Entry Processor
Entry Processor Overview
Sample Entry Processor Code
Abstract Entry Processor
Distributed Query
Query Overview
How It Works
Employee Map Query Example
Criteria API
Distributed SQL Query
Paging Predicate (Order & Limit)
Indexing
Query Thread Configuration
MapReduce
MapReduce Essentials
Introduction to MapReduce API
Hazelcast MapReduce Architecture
Aggregators
Aggregations Basics
Introduction to Aggregations API
Aggregations Examples
Implementing Aggregations
Continuous Query
Continuous Query Cache
Features of Continuous Query Cache
User Defined Services
Sample Case
Creating Class
Enabling Class
Adding Properties
Starting Service
Placing a Remote Call - Proxy
Creating Containers
Partition Migration
Creating Backups
WaitNotifyService
Transactions
Transaction Interface
XA Transactions
J2EE Integration
Sample Code for J2EE Integration
Resource Adapter Configuration
Sample Glassfish v3 Web Application Configuration
Sample JBoss AS 5 Web Application Configuration
Sample JBoss AS 7 / EAP 6 Web Application Configuration
Hazelcast JCache
JCache Overview
Setup and Configuration
Application Setup
Quick Example
JCache Configuration
JCache Providers
Provider Configuration
JCache Client Provider
JCache Server Provider
Introduction to the JCache API
JCache API Walk-through
Roundup of Basics
Factory and FactoryBuilder
CacheLoader
CacheWriter
JCache EntryProcessor
CacheEntryListener
ExpirePolicy
Hazelcast JCache Extension - ICache
Scopes and Namespaces
Retrieving an ICache Instance
ICache Configuration
Async Operations
Custom ExpiryPolicy
JCache Eviction
JCache Near Cache
Additional Methods
BackupAwareEntryProcessor
JCache Specification Compliance
Integrated Clustering
Hibernate Second Level Cache
Sample Code for Hibernate
Supported Hibernate Versions
Hibernate Configuration
Hazelcast Configuration for Hibernate
RegionFactory Options
Hazelcast Modes for Hibernate Usage
Hibernate Concurrency Strategies
Advanced Settings
Web Session Replication
Filter Based Web Session Replication
Spring Security Support
Tomcat Based Web Session Replication
Jetty Based Web Session Replication
Spring Integration
Supported Versions
Spring Configuration
Spring Managed Context with @SpringAware
Spring Cache
Hibernate 2nd Level Cache Config
Best Practices
Storage
High-Density Memory Store
Configuring Hi-Density Memory Store
Elastic Memory (High-Density Memory First Generation)
Sizing Practices
Hazelcast Java Client
Java Client Overview
Java Client Dependencies
Getting Started with Client API
Java Client Operation modes
Failure Handling
Supported Distributed Data Structures
Client Services
Client Listeners
Client Transactions
Java Client Configuration
Client Network Configuration
Client Load Balancer Configuration
Client Near Cache Configuration
Client Group Configuration
Client Security Configuration
Client Serialization Configuration
Client Listener Configuration
ExecutorPoolSize
ClassLoader
Client System Properties
Sample Codes for Client
Other Client Implementations
C++ Client
How to Setup
Platform Specific Installation Guides
Code Examples
.NET Client
Client Configuration
Client Startup
REST Client
Memcache Client
Unsupported Operations
Serialization
Serialization Overview
Serialization Interfaces
Comparison Table
Serializable & Externalizable
DataSerializable
IdentifiedDataSerializable
Portable
Versions
Null Portable Serialization
DistributedObject Serialization
Custom Serialization
StreamSerializer
ByteArraySerializer
HazelcastInstanceAware Interface
Management
Statistics API per Node
Map Statistics
Multimap Statistics
Queue Statistics
Topic Statistics
Executor Statistics
JMX API per Node
Monitoring with JMX
Cluster Utilities
Cluster Interface
Member Attributes
Cluster-Member Safety Check
Cluster Quorum
Management Center
Introduction
Tool Overview
Home Page
Caches
Maps
Queues
Topics
MultiMaps
Executors
Members
Scripting
Console
Alerts
Administration
Time Travel
Documentation
Suggested Heap Size
Clustered JMX
Clustered JMX Configuration
API Documentation
New Relic Integration
AppDynamics Integration
Clustered REST
Enabling Clustered REST
Clustered REST API Root
Clusters Resource
Cluster Resource
Members Resource
Member Resource
Clients Resource
Maps Resource
MultiMaps Resource
Queues Resource
Topics Resource
Executors Resource
Security
Enabling Security for Hazelcast Enterprise
Socket Interceptor
Security Interceptor
Encryption
SSL
Credentials
ClusterLoginModule
Enterprise Integration
Cluster Member Security
Native Client Security
Authentication
Authorization
Permissions
Performance
Data Affinity
Back Pressure
Threading Model
I/O Threading
Event Threading
IExecutor Threading
Operation Threading
SlowOperationDetector
Logging of Slow Operations
Purging of Slow Operation Logs
Hazelcast Performance on AWS
Selecting EC2 Instance Type
Dealing with Network Latency
Selecting Virtualization
Hazelcast Simulator
Simulator Overview
Key Concepts
Installing Simulator
Firewall settings
Setup of local machine (Coordinator)
Setup of remote machines (Agents, Workers)
Setup of public/private key pair
Setting Up For Amazon EC2
Setting Up For Google Compute Engine
Setting Up Machines Manually
Executing a Simulator Test
An Example Simulator Test
Editing the simulator.properties File
Editing the test.properties file
Running the Test
Using Maven Archetypes
Provisioner
Accessing the Provisioned Machine
Coordinator
Controlling Hazelcast Declarative Configuration
Controlling Test Duration
Controlling Client And Workers
Communicator
Example
Message Types
Message Addressing
Simulator.Properties File Description
Performance and Benchmarking
WAN
WAN Replication
Configuring WAN Replication
WAN Replication Additional Information
Enterprise WAN Replication
Replication implementations
WAN Replication Batch Size
WAN Replication Batch Frequency
WAN Replication Operation Timeout
WAN Replication Queue Capacity
Enterprise WAN Replication Additional Information
Hazelcast Configuration
Configuration Overview
Using Wildcard
Using Variables
Composing Declarative Configuration
Network Configuration
Public Address
Port
Outbound Ports
Reuse Address
Join
Interfaces
SSL
Socket Interceptor
Symmetric Encryption
IPv6 Support
Group Configuration
Map Configuration
Map Store
Near Cache
Indexes
Entry Listeners
MultiMap Configuration
Queue Configuration
Topic Configuration
List Configuration
Set Configuration
Semaphore Configuration
Executor Service Configuration
Serialization Configuration
MapReduce Jobtracker Configuration
Services Configuration
Management Center Configuration
WAN Replication Configuration
Enterprise WAN Replication Configuration
IMap and ICache WAN Configuration
Partition Group Configuration
Listener Configurations
Logging Configuration
System Properties
Network Partitioning - Split Brain Syndrome
Understanding Partition Recreation
Understanding Backup Partition Creation
Understanding The Update Overwrite Scenario
What Happens When The Network Failure Is Fixed
How Hazelcast Split Brain Merge Happens
Specifying Merge Policies
License Questions
Embedded Dependencies
Runtime Dependencies
Common Exception Types
Frequently Asked Questions
Why 271 as the default partition count?
Is Hazelcast thread safe?
How do nodes discover each other?
What happens when a node goes down?
How do I test the connectivity?
How do I choose keys properly?
How do I reflect value modifications?
How do I test my Hazelcast cluster?
Does Hazelcast support hundreds of nodes?
Does Hazelcast support thousands of clients?
What is the difference between old LiteMember and new Smart Client?
How do you give support?
Does Hazelcast persist?
Can I use Hazelcast in a single server?
How can I monitor Hazelcast?
How can I see debug level logs?
What is the difference between client-server and embedded topologies?
How do I know it is safe to kill the second node?
When do I need Native Memory solutions?
Is there any disadvantage of using near-cache?
Is Hazelcast secure?
How can I set socket options?
I periodically see client disconnections during idle time?
How to get rid of "java.lang.OutOfMemoryError: unable to create new native thread"?
Does repartitioning wait for Entry Processor?
Why do Hazelcast instances on different machines not see each other?
What Does "Replica: 1 has no owner" Mean?
Glossary
Powered by
beautiful-docs
-
Back to top
Resources
Hazelcast source code can be found at
Github/Hazelcast
.
Hazelcast API can be found at
Hazelcast.org/docs/Javadoc
.
Code samples can be downloaded from
Hazelcast.org/download
.
More use cases and resources can be found at
Hazelcast.com
.
Questions and discussions can be posted at
Hazelcast mail group
.