Uses of Class
com.tangosol.net.partition.PartitionSet
Package
Description
The Coherence gRPC server implementation.
Contains basic cluster interfaces and factories.
Contains interfaces and classes related to partitioned services.
Contains classes and helpers for implementing various types of persistence.
Contains various generic utilities.
Contains concrete
Filter
implementations and related interfaces.-
Uses of PartitionSet in com.oracle.coherence.grpc.proxy
Modifier and TypeMethodDescriptionstatic com.google.protobuf.ByteString
PagedQueryHelper.encodeCookie
(PartitionSet parts, int page) Encode the opaque cookie used in a paged request. -
Uses of PartitionSet in com.tangosol.net
Modifier and TypeFieldDescriptionprotected PartitionSet
PartitionedService.PartitionRecoveryAction.m_partsOrphan
The set of orphaned partitions.Modifier and TypeMethodDescriptionPartitionedService.PartitionRecoveryAction.getOrphanedPartitions()
Return the set of orphaned partitions.default PartitionSet
PartitionedService.getOwnedPartitions()
Determine the PartitionSet that is currently owned by the local cluster Member.PartitionedService.getOwnedPartitions
(Member member) Determine the PartitionSet that is currently owned by a cluster Member.protected PartitionSet
ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.getStalePartitions
(PartitionedService.PartitionRecoveryAction action, PartitionSet partsRecover, PartitionSet partsMissing) Return staled partition set.Modifier and TypeMethodDescriptionBackingMapContext.getIndexMap
(PartitionSet partitions) Return a map of indexes defined for the specified partitions of thecache
that this BackingMapContext is associated with.protected PartitionSet
ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.getStalePartitions
(PartitionedService.PartitionRecoveryAction action, PartitionSet partsRecover, PartitionSet partsMissing) Return staled partition set.protected static String
ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.reportLastOwnership
(PartitionSet parts, com.tangosol.net.internal.QuorumInfo info) Report the machine names in the "last good" membership that owned the specified partitions.ModifierConstructorDescriptionPartitionRecoveryAction
(PartitionSet partsOrphan, GUIDHelper.GUIDResolver resolver, com.tangosol.net.internal.QuorumInfo infoQuorum) Construct a PartitionRecoveryAction for the specified partitions, GUID resolver and the "last good" membership info. -
Uses of PartitionSet in com.tangosol.net.partition
Modifier and TypeFieldDescriptionprotected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.m_partsOrphaned
The set of partitions that were determined to be orphaned in the call toPartitionAssignmentStrategy.analyzeOrphans(Map)
.protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.m_partsUpdated
The set of partitions that have been updated in this analysis context; may be null.protected PartitionSet
PartitionEvent.m_setPartitions
The set of affected partitions.protected PartitionSet
AbstractPartitionedIterator.m_setPids
The remaining set of partitions to iterate.Modifier and TypeFieldDescriptionprotected Map
<Ownership, PartitionSet> SimpleAssignmentStrategy.m_mapSuggestLast
The Map containing the last distribution suggested by this strategy.Modifier and TypeMethodDescriptionPartitionSet.clear()
Clear the set.protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectEndangered
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "endangered".protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectOrphaned
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "orphaned".protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectWeak
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "weak" or "vulnerable" (as defined by the backup strength).protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.ensureUpdatedPartitions()
Ensure and return the set of updated partitions.PartitionSet.fill()
Fill the set to contain all the partitions.BroadKeyPartitioningStrategy.getAssociatedPartitions
(Object oKey) Determine the set of partitions that all keys associated with the specified key are assigned to.DefaultKeyPartitioningStrategy.getAssociatedPartitions
(Object oKey) Determine the set of partitions that all keys associated with the specified key are assigned to.KeyPartitioningStrategy.getAssociatedPartitions
(Object oKey) Determine the set of partitions that all keys associated with the specified key are assigned to.DistributionManager.getIgnoredAdvice()
Return a set of partitions from the previous suggestions that were ignored or rejected.protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.getOrphanedPartitions()
Return the partitions deemed orphaned as a result of a previous execution ofanalyzeOrphans
.DistributionManager.getOwnedPartitions
(Member member, int iStore) Return the set of partitions for which the specified member owns the specified storage index (replica).SimpleAssignmentStrategy.AnalysisContext.getOwnedPartitions
(Member member, int iStore) Return the set of partitions for which the specified member owns (or has been assigned by this analysis to own) the specified storage index.PartitionEvent.getPartitionSet()
Determine the set of partitions represented by this event.PartitionSplittingBackingMap.MapArray.getPartitionSet()
Obtain a PartitionSet containing partition IDs for which there are backing maps.protected PartitionSet
SimpleAssignmentStrategy.getUnownedPartitions
(PartitionSet parts, int nMember) Calculate a subset of the PartitionSet consisting of partitions that are not owned (primary or backup) by the specified member.protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.getUpdatedPartitions()
Return the set of updated partitions; may be null.PartitionSet.invert()
Invert all the partitions.PartitionSet.split()
Split this partition set into two partition sets that are mutually exclusive.static PartitionSet
PartitionSet.union
(PartitionSet partsA, PartitionSet partsB) Return a union of the two provided PartitionSets.Modifier and TypeMethodDescriptionprotected SortedMap
<Integer, PartitionSet> SimpleAssignmentStrategy.splitByOwner
(PartitionSet parts) Split the partition set scheduled for distribution by the current primary owner (all transfers originate from the primary owner).Modifier and TypeMethodDescriptionboolean
PartitionSet.add
(PartitionSet partitions) Add the specified PartitionSet to this set.protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectEndangered
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "endangered".protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectOrphaned
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "orphaned".protected PartitionSet
SimpleAssignmentStrategy.AnalysisContext.collectWeak
(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "weak" or "vulnerable" (as defined by the backup strength).boolean
PartitionSet.contains
(PartitionSet partitions) Check whether or not the specified partition set belongs to this set.protected int
SimpleAssignmentStrategy.doBalancePrimary
(SimpleAssignmentStrategy.AnalysisContext ctx, Member memberFrom, PartitionSet parts, Member[] aMembersTarget) Do balancing transfers for primary distribution.protected void
SimpleAssignmentStrategy.emitLossNotification
(PartitionSet partsLost) Emit a partition loss notification for given partitions.Map[]
PartitionSplittingBackingMap.MapArray.getBackingMaps
(PartitionSet partitions) Obtain an array of the current backing maps for the partitions specified in the passed PartitionSet.int
SimpleAssignmentStrategy.LoadCalculator.getLoad
(PartitionSet parts) Return the load for the specified set of partitions.int
SimpleAssignmentStrategy.SimpleLoadCalculator.getLoad
(PartitionSet parts) Return the load for the specified set of partitions.ObservableSplittingBackingMap.getPartitionMap
(PartitionSet partitions) Obtain a Map view for the data in a specific set of partitions.PartitionAwareBackingMap.getPartitionMap
(PartitionSet partitions) Obtain a Map view for the data in a specific set of partitions.PartitionSplittingBackingMap.getPartitionMap
(PartitionSet partitions) Obtain a Map view for the data in a specific set of partitions.ReadWriteSplittingBackingMap.getPartitionMap
(PartitionSet partitions) Obtain a Map view for the data in a specific set of partitions.protected PartitionSet
SimpleAssignmentStrategy.getUnownedPartitions
(PartitionSet parts, int nMember) Calculate a subset of the PartitionSet consisting of partitions that are not owned (primary or backup) by the specified member.boolean
PartitionSet.intersects
(PartitionSet partitions) Check whether or not the specified partition set intersects with this set.boolean
PartitionSet.remove
(PartitionSet partitions) Remove the specified PartitionSet from this set.boolean
PartitionSet.retain
(PartitionSet partitions) Retain only partitions in this set that are contained in the specified PartitionSet.protected void
SimpleAssignmentStrategy.AnalysisContext.setOrphanedPartitions
(PartitionSet parts) Set the orphaned partitions that can be prioritized for transfer in order to reduce the transfer cost.protected SortedMap
<Integer, PartitionSet> SimpleAssignmentStrategy.splitByOwner
(PartitionSet parts) Split the partition set scheduled for distribution by the current primary owner (all transfers originate from the primary owner).void
DistributionManager.suggest
(PartitionSet parts, Ownership ownership) Suggest a distribution change for the specified set of partitions, indicating either primary or backup transfer (or both).static PartitionSet
PartitionSet.union
(PartitionSet partsA, PartitionSet partsB) Return a union of the two provided PartitionSets.Modifier and TypeMethodDescriptionvoid
PartitionAssignmentStrategy.analyzeOrphans
(Map<Member, PartitionSet> mapConstraints) Analyze and suggest the assignment of orphaned partitions (partitions without an active primary or backup owner) subject to the specified constraints.void
SimpleAssignmentStrategy.analyzeOrphans
(Map<Member, PartitionSet> mapConstraints) Analyze and suggest the assignment of orphaned partitions (partitions without an active primary or backup owner) subject to the specified constraints.ModifierConstructorDescriptionprotected
AbstractPartitionedIterator
(Filter filter, NamedCache cache, PartitionSet setPids) Create AbstractPartitionedIterator instance.protected
AbstractPartitionedIterator
(Filter filter, NamedCache cache, PartitionSet setPids, boolean fByMember, boolean fRandom) Create AbstractPartitionedIterator instance.protected
MaskedPartitionMap
(PartitionSet partMask) Construct MaskedPartitionMap based on the specified PartitionSet.PartitionedIterator
(NamedCache cache, Filter filter, PartitionSet setPids, int nOptions) Construct PartitionedIterator that will provide iteration of the keys of the specified cache using the specified filter, but will only query one partition or one member at a time.PartitionEvent
(PartitionedService svc, int nId, PartitionSet setPartitions, Member memberFrom, Member memberTo) Construct a partition event.PartitionSet
(PartitionSet partitions) Copy constructor: construct a new PartitionSet object equivalent to the specified one. -
Uses of PartitionSet in com.tangosol.persistence
Modifier and TypeFieldDescriptionprotected PartitionSet
GUIDHelper.GUIDResolver.m_partsUnresolved
The PartitionSet containing partitions that don't have corresponding GUIDs.Modifier and TypeFieldDescriptionprotected Map
<Member, PartitionSet> GUIDHelper.GUIDResolver.m_mapResolved
The resolved map of members to the associated set of partitions.Modifier and TypeMethodDescriptionstatic PartitionSet
CachePersistenceHelper.getGlobalPartitions
(PartitionedService service) Return a PartitionSet that contains partitions to be used to persist (meta-)data that is logically "global".static PartitionSet
GUIDHelper.getPartitions
(Map<Integer, Object[]> mapStores, int cParts) Return aPartitionSet
with all partitions present in the providedmapStores
.GUIDHelper.GUIDResolver.getUnresolvedPartitions()
Retrieve a PartitionSet containing all partitions that don't have any corresponding GUIDs.Modifier and TypeMethodDescriptionGUIDHelper.GUIDResolver.resolve()
Resolve the registered GUIDs and return a map associating each member to the set of partitions that it had registered as having the newest GUID for.Modifier and TypeMethodDescriptionString[]
GUIDHelper.GUIDResolver.getNewestGUIDs
(PartitionSet parts) Return the list of the newest GUIDs for the specified set of partitions. -
Uses of PartitionSet in com.tangosol.util
Modifier and TypeMethodDescriptionQueryRecord.PartialResult.getPartitions()
Get the set of partitions associated with this partial result.SimpleQueryRecord.PartialResult.getPartitions()
Get the set of partitions associated with this partial result.Modifier and TypeMethodDescriptiondefault PartitionedFilter
<T> Filter.forPartitions
(PartitionSet partitions) Return a partitioned filter for a specified partition set.Modifier and TypeMethodDescriptionvoid
NullImplementation.NullPartitionAssignmentStrategy.analyzeOrphans
(Map<Member, PartitionSet> mapConstraints) Analyze and suggest the assignment of orphaned partitions (partitions without an active primary or backup owner) subject to the specified constraints.ModifierConstructorDescriptionPartialResult
(PartitionSet partMask) Construct a PartialResult.PartialResult
(QueryContext ctx, PartitionSet partMask) Construct a PartialResult. -
Uses of PartitionSet in com.tangosol.util.filter
Modifier and TypeMethodDescriptionPartitionedFilter.getPartitionSet()
Obtain the PartitionSet that specifies what partitions the wrapped filter will be applied to.ModifierConstructorDescriptionPartitionedFilter
(Filter<T> filter, PartitionSet partitions) Construct a PartitionedFilter.