Uses of Record Class
org.openspaces.core.multicluster.internal.ClusterRegistry.Cluster
Packages that use ClusterRegistry.Cluster
Package
Description
Implementation of the multi-cluster proxy.
-
Uses of ClusterRegistry.Cluster in org.openspaces.core.multicluster.internal
Methods in org.openspaces.core.multicluster.internal that return ClusterRegistry.ClusterModifier and TypeMethodDescriptionClusterRegistry.clearReadActive()Drops the read pin, soREAD_ACTIVEreads follow the active cluster again.Makesnamethe active cluster for both reads and writes, dropping any read pin.Makes the cluster behind this proxy instance active.ClusterRegistry.setReadActive(String name) PinsREAD_ACTIVEreads toname, leaving the active cluster taking writes.ClusterRegistry.setWriteActive(String name) Makesnamethe active cluster for writes only.ClusterRegistry.unregister(String name) Removes a cluster by name.ClusterRegistry.unregister(GigaSpace proxy) Removes a cluster by proxy instance.Methods in org.openspaces.core.multicluster.internal that return types with arguments of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionClusterRegistry.Snapshot.active()ClusterRegistry.Snapshot.clusters()ClusterRegistry.Snapshot.readActive()Methods in org.openspaces.core.multicluster.internal with parameters of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionClusterRegistry.register(ClusterRegistry.Cluster cluster) Registers a cluster. -
Uses of ClusterRegistry.Cluster in org.openspaces.core.multicluster.internal.health
Methods in org.openspaces.core.multicluster.internal.health that return ClusterRegistry.ClusterModifier and TypeMethodDescriptionFailoverManager.Action.RetryOn.cluster()Returns the value of theclusterrecord component.Methods in org.openspaces.core.multicluster.internal.health that return types with arguments of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionFailoverManager.moveReadRoleAwayFromUnreachable(String deadCluster, Throwable cause) Moves a pinned read role off a cluster that cannot be reached, and reports whereREAD_ACTIVEreads go now.FailoverManager.nextAvailableCluster(String excluding) The next cluster in priority order that may take traffic, skipping one - normally the cluster that just failed.FailoverManager.promoteAwayFromUnreachable(String deadCluster, Throwable cause) Moves the active role off a cluster that cannot be reached, and reports where it went.Methods in org.openspaces.core.multicluster.internal.health with parameters of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionFailoverManager.onFailure(ClusterRegistry.Cluster cluster, OperationKind kind, Throwable cause, int attempt) Decides how to recover from a failed operation.Constructors in org.openspaces.core.multicluster.internal.health with parameters of type ClusterRegistry.ClusterModifierConstructorDescriptionRetryOn(ClusterRegistry.Cluster cluster) Creates an instance of aRetryOnrecord class. -
Uses of ClusterRegistry.Cluster in org.openspaces.core.multicluster.internal.routing
Methods in org.openspaces.core.multicluster.internal.routing that return ClusterRegistry.ClusterModifier and TypeMethodDescriptionWriteExecutor.Mutation.primary()Returns the value of theprimaryrecord component.ActiveOnlyReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) ReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) Picks a cluster.RoundRobinReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) Methods in org.openspaces.core.multicluster.internal.routing that return types with arguments of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionWriteExecutor.Mutation.secondaries()The targets other than the primary, in registration order.WriteExecutor.Mutation.targets()Returns the value of thetargetsrecord component.Methods in org.openspaces.core.multicluster.internal.routing with parameters of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionWriteExecutor.ClusterInvoker.invoke(ClusterRegistry.Cluster cluster) Method parameters in org.openspaces.core.multicluster.internal.routing with type arguments of type ClusterRegistry.ClusterModifier and TypeMethodDescriptionstatic voidReadSelector.requireEligible(List<ClusterRegistry.Cluster> eligible, ClusterRegistry.Snapshot snapshot, MultiClusterGigaSpace.ReadMode mode) Shared guard so every selector fails the same way when there is nothing to choose from.ActiveOnlyReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) ReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) Picks a cluster.RoundRobinReadSelector.select(ClusterRegistry.Snapshot snapshot, List<ClusterRegistry.Cluster> eligible) Constructors in org.openspaces.core.multicluster.internal.routing with parameters of type ClusterRegistry.ClusterModifierConstructorDescriptionMutation(OperationKind kind, String operationName, ClusterRegistry.Cluster primary, List<ClusterRegistry.Cluster> targets, WriteExecutor.ClusterInvoker invoker, MultiClusterConfig config) Creates an instance of aMutationrecord class.Constructor parameters in org.openspaces.core.multicluster.internal.routing with type arguments of type ClusterRegistry.ClusterModifierConstructorDescriptionMutation(OperationKind kind, String operationName, ClusterRegistry.Cluster primary, List<ClusterRegistry.Cluster> targets, WriteExecutor.ClusterInvoker invoker, MultiClusterConfig config) Creates an instance of aMutationrecord class.