Package com.hazelcast.partition

Contains the partition logic for Hazelcast.
  • Interface Summary
    Interface Description
    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 the PartitionAware.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 that is fired when a partition lost its owner and all backups.
    PartitionLostListener
    PartitionLostListener provides the ability to be notified upon a possible data loss when a partition loses a replica.
    PartitionService
    PartitionService allows you to query Partitions and attach/detach MigrationListeners 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>
  • Exception Summary
    Exception Description
    NoDataMemberInClusterException
    Thrown when there is no data member in the cluster to assign partitions.