Package com.tangosol.net.partition
package com.tangosol.net.partition
Contains interfaces and classes related to partitioned services.
-
ClassDescriptionAbstract base class for partitioned iterators.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.A DefaultKeyAssociator provides key associations on behalf of keys that implement the
KeyAssociation
interface.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.Default implementation ofVersionedPartitions
,A DistributionManager coordinates the distribution of partitions for a partitioned service.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.A KeyAssociator provides key associations on behalf of a set of keys.A KeyPartitioningStrategy is a pluggable strategy for assigning keys to specific partitions.PartitionAwareKey is a well-known interface that should be respected byKeyPartitioningStrategy
implementations.A PartitionAssignmentStrategy used by a service to attempt to co-locate the primary ownership of partitions on the same members as another service.The ObservableSplittingBackingCache is an implementation of the ConfigurableCacheMap interface that works as an observable backing map in a partitioned system.A subclass of PartitionSplittingBackingMap which allows an injected instance ofObservableSplittingBackingMap
to be called immediately before inserting a value(s) in a partition map.An observable, cache-aware PartitionAwareBackingMap implementation.Ownership is a light-weight data structure that contains a partition ownership information.A PartitionAssignmentStrategy is a pluggable strategy used by a PartitionedService to manage partition distribution.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.An Iterator that iterates over keys in a partition-by-partition or member-by-member manner.The PartitionEvent carries information about an event related to one or more partitions.The listener interface for receiving PartitionEvents.PartitionSet is a light-weight data structure that represents a set of partitions that are used in parallel processing.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.The MapArray is a data structure that provides a mapping between partition IDs and backing maps.PartitionStatistics encapsulates the statistics gathered for a given partition in a PartitionedService.A PartitionAwareBackingMap extension to the ReadWriteBackingMap.SimpleAssignmentStrategy is a PartitionAssignmentStrategy that attempts to balance the partition distribution based on the number of primary and backup partitions owned.BackupStrength represents a level of "strength" or "resiliency" between the primary and backup owners of a partition.LoadCalculator is used to calculate the scalar load (expressed as an integer) of a partition (or set of partitions).SimpleLoadCalculator defines a "count-based" load (e.g. the load of each partition is defined to be 1).SimplePartitionKey is a trivialPartitionAwareKey
implementation.Standard MBean interface that exposes management attributes and operations for aSimpleAssignmentStrategy
used by aPartitionedService
.HAStatus represents the possible values to represent the High Availability Status of the associated PartitionedService.Direct implementations of this interface are generally considered advanced use cases, such as handling event receiver (client process) restarts.An extension of the partition Ownership object which also carries a change version.VersionedPartitions implementations provide a mapping from partition to version.An Iterator for partitions being tracked by aVersionedPartitions
implementation that allows retrieval of the next partition as aprimitive
.An Iterator for partitions being tracked by aVersionedPartitions
implementation that allows retrieval of partition and version.