Uses of Package
com.hazelcast.partition
Package
Description
This package contains the public API extension for Hazelcast JCache,
the Hazelcast implementation of the JSR-107 commonly referred to as JCache.
Provides classes for configuring HazelcastInstance.
Provides core API interfaces/classes.
Contains Hazelcast map module classes.
Contains the partition logic for Hazelcast.
Packages contains different partitioning strategies.
-
-
ClassDescriptionPartitioningStrategy allows keys to be located on the same member.
-
ClassDescriptionPartitionService allows you to query
Partition
s and attach/detachMigrationListener
s to listen to partition migration events. -
-
ClassDescriptionMigrationListener provides the ability to listen to partition migration process and events.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.In Hazelcast the data is split up in partitions: by default, 271 and configurable through the 'hazelcast.partition.count' ClusterProperty.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 is a base interface for partition related events.The event is fired when a primary replica of the partition is lost.PartitionLostListener provides the ability to be notified upon a possible data loss when a partition loses a replica.An event fired when a partition replica migration completes or fails. -
ClassDescriptionPartitioningStrategy allows keys to be located on the same member.