Package com.hazelcast.partition
Contains the partition logic for Hazelcast.
-
Interface Summary Interface Description LocalReplicationStats Local statistics related to partition data replication.MigrationListener MigrationListener provides the ability to listen to partition migration process and events.MigrationState MigrationState shows statistical information about the migration, such as; migration start time, number of planned replica migrations, number of completed replica migrations, total elapsed migration time etc.Partition In Hazelcast the data is split up in partitions: by default, 271 and configurable through the 'hazelcast.partition.count' ClusterProperty.PartitionAware<T> PartitionAware means that data will be based in the same member based on the partition key and implementing tasks will be executed on thePartitionAware.getPartitionKey()
's owner member.PartitionEvent PartitionEvent is a base interface for partition related events.PartitioningStrategy<K> PartitioningStrategy allows keys to be located on the same member.PartitionLostEvent The event is fired when a primary replica of the partition is lost.PartitionLostListener PartitionLostListener provides the ability to be notified upon a possible data loss when a partition loses a replica.PartitionService PartitionService allows you to queryPartition
s and attach/detachMigrationListener
s to listen to partition migration events.ReplicaMigrationEvent An event fired when a partition replica migration completes or fails. -
Class Summary Class Description PartitionAwareKey<K,P> APartitionAware
key. -
Exception Summary Exception Description NoDataMemberInClusterException Thrown when there is no data member in the cluster to assign partitions.