Uses of Class
com.tangosol.net.partition.PartitionSet
Packages that use 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
Methods in com.oracle.coherence.grpc.proxy with parameters of type PartitionSetModifier and TypeMethodDescriptionstatic com.google.protobuf.ByteStringPagedQueryHelper.encodeCookie(PartitionSet parts, int page) Encode the opaque cookie used in a paged request. -
Uses of PartitionSet in com.tangosol.net
Fields in com.tangosol.net declared as PartitionSetModifier and TypeFieldDescriptionprotected PartitionSetPartitionedService.PartitionRecoveryAction.m_partsOrphanThe set of orphaned partitions.Methods in com.tangosol.net that return PartitionSetModifier and TypeMethodDescriptionPartitionedService.PartitionRecoveryAction.getOrphanedPartitions()Return the set of orphaned partitions.default PartitionSetPartitionedService.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 PartitionSetConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.getStalePartitions(PartitionedService.PartitionRecoveryAction action, PartitionSet partsRecover, PartitionSet partsMissing) Return staled partition set.Methods in com.tangosol.net with parameters of type PartitionSetModifier and TypeMethodDescriptionBackingMapContext.getIndexMap(PartitionSet partitions) Return a map of indexes defined for the specified partitions of thecachethat this BackingMapContext is associated with.protected PartitionSetConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.getStalePartitions(PartitionedService.PartitionRecoveryAction action, PartitionSet partsRecover, PartitionSet partsMissing) Return staled partition set.protected static StringConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.reportLastOwnership(PartitionSet parts, com.tangosol.net.internal.QuorumInfo info) Report the machine names in the "last good" membership that owned the specified partitions.Constructors in com.tangosol.net with parameters of type PartitionSetModifierConstructorDescriptionPartitionRecoveryAction(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
Fields in com.tangosol.net.partition declared as PartitionSetModifier and TypeFieldDescriptionprotected PartitionSetSimpleAssignmentStrategy.AnalysisContext.m_partsOrphanedThe set of partitions that were determined to be orphaned in the call toPartitionAssignmentStrategy.analyzeOrphans(Map).protected PartitionSetSimpleAssignmentStrategy.AnalysisContext.m_partsUpdatedThe set of partitions that have been updated in this analysis context; may be null.protected PartitionSetPartitionEvent.m_setPartitionsThe set of affected partitions.protected PartitionSetAbstractPartitionedIterator.m_setPidsThe remaining set of partitions to iterate.Fields in com.tangosol.net.partition with type parameters of type PartitionSetModifier and TypeFieldDescriptionprotected Map<Ownership, PartitionSet> SimpleAssignmentStrategy.m_mapSuggestLastThe Map containing the last distribution suggested by this strategy.Methods in com.tangosol.net.partition that return PartitionSetModifier and TypeMethodDescriptionPartitionSet.clear()Clear the set.protected PartitionSetSimpleAssignmentStrategy.AnalysisContext.collectEndangered(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "endangered".protected PartitionSetSimpleAssignmentStrategy.AnalysisContext.collectOrphaned(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "orphaned".protected PartitionSetSimpleAssignmentStrategy.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 PartitionSetSimpleAssignmentStrategy.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 PartitionSetSimpleAssignmentStrategy.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 PartitionSetSimpleAssignmentStrategy.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 PartitionSetSimpleAssignmentStrategy.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 PartitionSetPartitionSet.union(PartitionSet partsA, PartitionSet partsB) Return a union of the two provided PartitionSets.Methods in com.tangosol.net.partition that return types with arguments of type PartitionSetModifier 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).Methods in com.tangosol.net.partition with parameters of type PartitionSetModifier and TypeMethodDescriptionbooleanPartitionSet.add(PartitionSet partitions) Add the specified PartitionSet to this set.protected PartitionSetSimpleAssignmentStrategy.AnalysisContext.collectEndangered(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "endangered".protected PartitionSetSimpleAssignmentStrategy.AnalysisContext.collectOrphaned(PartitionSet parts) Return a partition set representing the subset of the specified partitions that are "orphaned".protected PartitionSetSimpleAssignmentStrategy.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).booleanPartitionSet.contains(PartitionSet partitions) Check whether or not the specified partition set belongs to this set.protected intSimpleAssignmentStrategy.doBalancePrimary(SimpleAssignmentStrategy.AnalysisContext ctx, Member memberFrom, PartitionSet parts, Member[] aMembersTarget) Do balancing transfers for primary distribution.protected voidSimpleAssignmentStrategy.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.intSimpleAssignmentStrategy.LoadCalculator.getLoad(PartitionSet parts) Return the load for the specified set of partitions.intSimpleAssignmentStrategy.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 PartitionSetSimpleAssignmentStrategy.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.booleanPartitionSet.intersects(PartitionSet partitions) Check whether or not the specified partition set intersects with this set.booleanPartitionSet.remove(PartitionSet partitions) Remove the specified PartitionSet from this set.booleanPartitionSet.retain(PartitionSet partitions) Retain only partitions in this set that are contained in the specified PartitionSet.protected voidSimpleAssignmentStrategy.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).voidDistributionManager.suggest(PartitionSet parts, Ownership ownership) Suggest a distribution change for the specified set of partitions, indicating either primary or backup transfer (or both).static PartitionSetPartitionSet.union(PartitionSet partsA, PartitionSet partsB) Return a union of the two provided PartitionSets.Method parameters in com.tangosol.net.partition with type arguments of type PartitionSetModifier and TypeMethodDescriptionvoidPartitionAssignmentStrategy.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.voidSimpleAssignmentStrategy.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.Constructors in com.tangosol.net.partition with parameters of type PartitionSetModifierConstructorDescriptionprotectedAbstractPartitionedIterator(Filter filter, NamedCache cache, PartitionSet setPids) Create AbstractPartitionedIterator instance.protectedAbstractPartitionedIterator(Filter filter, NamedCache cache, PartitionSet setPids, boolean fByMember, boolean fRandom) Create AbstractPartitionedIterator instance.protectedMaskedPartitionMap(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
Fields in com.tangosol.persistence declared as PartitionSetModifier and TypeFieldDescriptionprotected PartitionSetGUIDHelper.GUIDResolver.m_partsUnresolvedThe PartitionSet containing partitions that don't have corresponding GUIDs.Fields in com.tangosol.persistence with type parameters of type PartitionSetModifier and TypeFieldDescriptionprotected Map<Member, PartitionSet> GUIDHelper.GUIDResolver.m_mapResolvedThe resolved map of members to the associated set of partitions.Methods in com.tangosol.persistence that return PartitionSetModifier and TypeMethodDescriptionstatic PartitionSetCachePersistenceHelper.getGlobalPartitions(PartitionedService service) Return a PartitionSet that contains partitions to be used to persist (meta-)data that is logically "global".static PartitionSetGUIDHelper.getPartitions(Map<Integer, Object[]> mapStores, int cParts) Return aPartitionSetwith all partitions present in the providedmapStores.GUIDHelper.GUIDResolver.getUnresolvedPartitions()Retrieve a PartitionSet containing all partitions that don't have any corresponding GUIDs.Methods in com.tangosol.persistence that return types with arguments of type PartitionSetModifier 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.Methods in com.tangosol.persistence with parameters of type PartitionSetModifier 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
Methods in com.tangosol.util that return PartitionSetModifier 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.Methods in com.tangosol.util with parameters of type PartitionSetModifier and TypeMethodDescriptiondefault PartitionedFilter<T> Filter.forPartitions(PartitionSet partitions) Return a partitioned filter for a specified partition set.Method parameters in com.tangosol.util with type arguments of type PartitionSetModifier and TypeMethodDescriptionvoidNullImplementation.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.Constructors in com.tangosol.util with parameters of type PartitionSetModifierConstructorDescriptionPartialResult(PartitionSet partMask) Construct a PartialResult.PartialResult(QueryContext ctx, PartitionSet partMask) Construct a PartialResult. -
Uses of PartitionSet in com.tangosol.util.filter
Methods in com.tangosol.util.filter that return PartitionSetModifier and TypeMethodDescriptionPartitionedFilter.getPartitionSet()Obtain the PartitionSet that specifies what partitions the wrapped filter will be applied to.Constructors in com.tangosol.util.filter with parameters of type PartitionSetModifierConstructorDescriptionPartitionedFilter(Filter<T> filter, PartitionSet partitions) Construct a PartitionedFilter.