Package com.tangosol.net.partition
Contains interfaces and classes related to partitioned services.
-
Interface Summary Interface Description DistributionManager A DistributionManager coordinates the distribution of partitions for a partitioned service.KeyAssociator A KeyAssociator provides key associations on behalf of a set of keys.KeyPartitioningStrategy A KeyPartitioningStrategy is a pluggable strategy for assigning keys to specific partitions.KeyPartitioningStrategy.PartitionAwareKey PartitionAwareKey is a well-known interface that should be respected byKeyPartitioningStrategy
implementations.PartitionAssignmentStrategy A PartitionAssignmentStrategy is a pluggable strategy used by a PartitionedService to manage partition distribution.PartitionAwareBackingMap In a partitioned configuration, backing maps that implement the PartitionAwareBackingMap interface are able to react to the partition life-cycle (a partition showing up on a node, or moving away from a node) and manage data more efficiently as a result.PartitionListener The listener interface for receiving PartitionEvents.SimpleAssignmentStrategy.LoadCalculator LoadCalculator is used to calculate the scalar load (expressed as an integer) of a partition (or set of partitions).SimpleStrategyMBean Standard MBean interface that exposes management attributes and operations for aSimpleAssignmentStrategy
used by aPartitionedService
.VersionAwareMapListener<K,V> Direct implementations of this interface are generally considered advanced use cases, such as handling event receiver (client process) restarts.VersionedPartitions VersionedPartitions implementations provide a mapping from partition to version.VersionedPartitions.Iterator<T> An Iterator for partitions being tracked by aVersionedPartitions
implementation that allows retrieval of the next partition as aprimitive
.VersionedPartitions.VersionedIterator An Iterator for partitions being tracked by aVersionedPartitions
implementation that allows retrieval of partition and version. -
Class Summary Class Description AbstractPartitionedIterator<T> Abstract base class for partitioned iterators.BroadKeyPartitioningStrategy The BroadKeyPartitioningStrategy is a strategy that could be used in cases when the standard key association-based strategy produces very uneven partition distribution - some partitions having significantly larger amount of data than others.DefaultKeyAssociator A DefaultKeyAssociator provides key associations on behalf of keys that implement theKeyAssociation
interface.DefaultKeyPartitioningStrategy DefaultKeyPartitioningStrategy provides a simple strategy for assigning keys to partitions which is based on the hash code of keys in internal (serialized to Binary) form.DefaultVersionedPartitions Default implementation ofVersionedPartitions
,FailoverAccessPolicy FailoverAccessPolicy is used to moderate the client request load during a failover event in order to allow cache servers adequate opportunity to re-establish partition backups.MirroringAssignmentStrategy A PartitionAssignmentStrategy used by a service to attempt to co-locate the primary ownership of partitions on the same members as another service.ObservableSplittingBackingCache The ObservableSplittingBackingCache is an implementation of the ConfigurableCacheMap interface that works as an observable backing map in a partitioned system.ObservableSplittingBackingCache.CapacityAwareMap A subclass of PartitionSplittingBackingMap which allows an injected instance ofObservableSplittingBackingMap
to be called immediately before inserting a value(s) in a partition map.ObservableSplittingBackingMap An observable, cache-aware PartitionAwareBackingMap implementation.Ownership Ownership is a light-weight data structure that contains a partition ownership information.PartitionedIterator<T> An Iterator that iterates over keys in a partition-by-partition or member-by-member manner.PartitionEvent The PartitionEvent carries information about an event related to one or more partitions.PartitionSet PartitionSet is a light-weight data structure that represents a set of partitions that are used in parallel processing.PartitionSplittingBackingMap In a partitioned configuration, the PartitionSplittingBackingMap is a "map multi-plexer" that enables multiple backing maps to be used in place of a single backing map.PartitionSplittingBackingMap.MapArray The MapArray is a data structure that provides a mapping between partition IDs and backing maps.PartitionStatistics PartitionStatistics encapsulates the statistics gathered for a given partition in a PartitionedService.ReadWriteSplittingBackingMap A PartitionAwareBackingMap extension to the ReadWriteBackingMap.SimpleAssignmentStrategy SimpleAssignmentStrategy is a PartitionAssignmentStrategy that attempts to balance the partition distribution based on the number of primary and backup partitions owned.SimpleAssignmentStrategy.BackupStrength BackupStrength represents a level of "strength" or "resiliency" between the primary and backup owners of a partition.SimpleAssignmentStrategy.SimpleLoadCalculator SimpleLoadCalculator defines a "count-based" load (e.g. the load of each partition is defined to be 1).SimplePartitionKey SimplePartitionKey is a trivialPartitionAwareKey
implementation.VersionedOwnership An extension of the partition Ownership object which also carries a change version. -
Enum Summary Enum Description SimpleStrategyMBean.HAStatus HAStatus represents the possible values to represent the High Availability Status of the associated PartitionedService.