Uses of Class
com.tangosol.net.partition.SimpleAssignmentStrategy.AnalysisContext
Packages that use SimpleAssignmentStrategy.AnalysisContext
Package
Description
Contains interfaces and classes related to partitioned services.
-
Uses of SimpleAssignmentStrategy.AnalysisContext in com.tangosol.net.partition
Fields in com.tangosol.net.partition declared as SimpleAssignmentStrategy.AnalysisContextModifier and TypeFieldDescriptionprotected SimpleAssignmentStrategy.AnalysisContextSimpleAssignmentStrategy.m_ctxLastThe last analysis context.Methods in com.tangosol.net.partition that return SimpleAssignmentStrategy.AnalysisContextModifier and TypeMethodDescriptionSimpleAssignmentStrategy.getLastAnalysisContext()Return the last AnalysisContext.SimpleAssignmentStrategy.instantiateAnalysisContext()Factory method.Methods in com.tangosol.net.partition with parameters of type SimpleAssignmentStrategy.AnalysisContextModifier and TypeMethodDescriptionprotected longSimpleAssignmentStrategy.analyze(SimpleAssignmentStrategy.AnalysisContext ctx) Analyze the distribution using the specified analysis context.protected longMirroringAssignmentStrategy.analyzeDistribution(SimpleAssignmentStrategy.AnalysisContext ctx) Analyze the distribution and suggest the resulting distribution to distribution manager.protected longSimpleAssignmentStrategy.analyzeDistribution(SimpleAssignmentStrategy.AnalysisContext ctx) Analyze the distribution and suggest the resulting distribution to distribution manager.protected intSimpleAssignmentStrategy.checkBackupBalance(SimpleAssignmentStrategy.AnalysisContext ctx) Check that the distribution of backup partitions is balanced.protected intSimpleAssignmentStrategy.checkBackupOverloaded(SimpleAssignmentStrategy.AnalysisContext ctx) Check if the distribution of backup partitions is balanced.protected intSimpleAssignmentStrategy.checkBackupStrong(SimpleAssignmentStrategy.AnalysisContext ctx) Check that the backups are strong.protected voidSimpleAssignmentStrategy.checkEndangered(SimpleAssignmentStrategy.AnalysisContext ctx) Check the distribution to ensure that backups are created for any "endangered" partitions.protected voidSimpleAssignmentStrategy.checkLeaving(SimpleAssignmentStrategy.AnalysisContext ctx) Check for any service members that are leaving, and adjust the distribution plan accordingly.protected voidSimpleAssignmentStrategy.checkPrimaryBalance(SimpleAssignmentStrategy.AnalysisContext ctx) Check the distribution to ensure that primary the partition load is balanced.protected booleanSimpleAssignmentStrategy.checkSimpleDistribution(SimpleAssignmentStrategy.AnalysisContext ctx) Analyze the distribution for the special two-server case using the specified analysis context.protected voidSimpleAssignmentStrategy.AnalysisContext.copyTransients(SimpleAssignmentStrategy.AnalysisContext ctxLast) Copy transient values from another, generally the previous, AnalysisContext to this AnalysisContext.protected intSimpleAssignmentStrategy.doBalancePrimary(SimpleAssignmentStrategy.AnalysisContext ctx, Member memberFrom, PartitionSet parts, Member[] aMembersTarget) Do balancing transfers for primary distribution.protected intSimpleAssignmentStrategy.getVariance(SimpleAssignmentStrategy.AnalysisContext ctx, boolean fPrimary) Return the maximum load variance in the partition assignments represented by the analysis context.protected booleanMirroringAssignmentStrategy.isRefinementNeeded(SimpleAssignmentStrategy.AnalysisContext ctx, PartitionedService serviceThis, PartitionedService serviceThat) Return true iff the partition assignments sync'd from the specified associated service should be further refined/balanced by the local assignment strategy.protected voidSimpleAssignmentStrategy.primeDistribution(SimpleAssignmentStrategy.AnalysisContext ctx) Optimize the distribution with minimum backup fan-out by distributing the partitions among first two strong members.protected voidSimpleAssignmentStrategy.setLastAnalysisContext(SimpleAssignmentStrategy.AnalysisContext ctx) Set the last AnalysisContext.protected voidMirroringAssignmentStrategy.syncAssignments(SimpleAssignmentStrategy.AnalysisContext ctx, PartitionedService serviceThat) Update the analysis context to reflect the partition assignments of the specified associated service.protected voidSimpleAssignmentStrategy.validateBackups(SimpleAssignmentStrategy.AnalysisContext ctx) Check if there are enough ownership members to maintain the configured backup count, reducing the number of backups otherwise.