Uses of Interface
org.infinispan.partitionhandling.impl.AvailabilityStrategyContext
-
Uses of AvailabilityStrategyContext in org.infinispan.partitionhandling.impl
Modifier and TypeMethodDescriptionvoid
AvailabilityStrategy.onClusterViewChange
(AvailabilityStrategyContext context, List<Address> clusterMembers) Called when the cluster view changed (e.g.void
PreferAvailabilityStrategy.onClusterViewChange
(AvailabilityStrategyContext context, List<Address> clusterMembers) void
PreferConsistencyStrategy.onClusterViewChange
(AvailabilityStrategyContext context, List<Address> clusterMembers) void
AvailabilityStrategy.onGracefulLeave
(AvailabilityStrategyContext context, Address leaver) Called when a node leaves gracefully.void
PreferAvailabilityStrategy.onGracefulLeave
(AvailabilityStrategyContext context, Address leaver) void
PreferConsistencyStrategy.onGracefulLeave
(AvailabilityStrategyContext context, Address leaver) void
AvailabilityStrategy.onJoin
(AvailabilityStrategyContext context, Address joiner) Called when a node joins.void
PreferAvailabilityStrategy.onJoin
(AvailabilityStrategyContext context, Address joiner) void
PreferConsistencyStrategy.onJoin
(AvailabilityStrategyContext context, Address joiner) void
AvailabilityStrategy.onManualAvailabilityChange
(AvailabilityStrategyContext context, AvailabilityMode newAvailabilityMode) Called when the administrator manually changes the availability status.void
PreferAvailabilityStrategy.onManualAvailabilityChange
(AvailabilityStrategyContext context, AvailabilityMode newAvailabilityMode) void
PreferConsistencyStrategy.onManualAvailabilityChange
(AvailabilityStrategyContext context, AvailabilityMode newAvailabilityMode) void
AvailabilityStrategy.onPartitionMerge
(AvailabilityStrategyContext context, Map<Address, CacheStatusResponse> statusResponseMap) Called when two or more partitions merge, to compute the stable and current cache topologies for the merged cluster.void
PreferAvailabilityStrategy.onPartitionMerge
(AvailabilityStrategyContext context, Map<Address, CacheStatusResponse> statusResponseMap) void
PreferConsistencyStrategy.onPartitionMerge
(AvailabilityStrategyContext context, Map<Address, CacheStatusResponse> statusResponseMap) void
AvailabilityStrategy.onRebalanceEnd
(AvailabilityStrategyContext context) Called when a rebalance ends.void
PreferAvailabilityStrategy.onRebalanceEnd
(AvailabilityStrategyContext context) void
PreferConsistencyStrategy.onRebalanceEnd
(AvailabilityStrategyContext context) -
Uses of AvailabilityStrategyContext in org.infinispan.topology
Modifier and TypeClassDescriptionclass
Keeps track of a cache's status: members, current/pending consistent hashes, and rebalance status