Uses of Class
org.apache.cassandra.gms.ApplicationState
-
Packages that use ApplicationState Package Description org.apache.cassandra.gms org.apache.cassandra.locator org.apache.cassandra.service -
-
Uses of ApplicationState in org.apache.cassandra.gms
Methods in org.apache.cassandra.gms that return ApplicationState Modifier and Type Method Description static ApplicationState
ApplicationState. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApplicationState[]
ApplicationState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.cassandra.gms that return types with arguments of type ApplicationState Modifier and Type Method Description java.util.Set<java.util.Map.Entry<ApplicationState,VersionedValue>>
EndpointState. states()
Methods in org.apache.cassandra.gms with parameters of type ApplicationState Modifier and Type Method Description void
EndpointState. addApplicationState(ApplicationState key, VersionedValue value)
void
Gossiper. addLocalApplicationState(ApplicationState applicationState, VersionedValue value)
default void
IEndpointStateChangeSubscriber. beforeChange(InetAddressAndPort endpoint, EndpointState currentState, ApplicationState newStateKey, VersionedValue newValue)
boolean
EndpointState. containsApplicationState(ApplicationState key)
VersionedValue
EndpointState. getApplicationState(ApplicationState key)
java.lang.String
Gossiper. getApplicationState(InetAddressAndPort endpoint, ApplicationState state)
The value for the provided application state for the provided endpoint as currently known by this Gossip instance.void
Gossiper. injectApplicationState(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
default void
IEndpointStateChangeSubscriber. onChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
Method parameters in org.apache.cassandra.gms with type arguments of type ApplicationState Modifier and Type Method Description void
EndpointState. addApplicationStates(java.util.Map<ApplicationState,VersionedValue> values)
void
EndpointState. addApplicationStates(java.util.Set<java.util.Map.Entry<ApplicationState,VersionedValue>> values)
void
Gossiper. addLocalApplicationStates(java.util.List<Pair<ApplicationState,VersionedValue>> states)
void
Gossiper. start(int generationNbr, java.util.Map<ApplicationState,VersionedValue> preloadLocalStates)
Start the gossiper with the generation number, preloading the map of application states before starting -
Uses of ApplicationState in org.apache.cassandra.locator
Methods in org.apache.cassandra.locator with parameters of type ApplicationState Modifier and Type Method Description void
ReconnectableSnitchHelper. beforeChange(InetAddressAndPort endpoint, EndpointState currentState, ApplicationState newStateKey, VersionedValue newValue)
void
ReconnectableSnitchHelper. onChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
-
Uses of ApplicationState in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type ApplicationState Modifier and Type Method Description void
ActiveRepairService. beforeChange(InetAddressAndPort endpoint, EndpointState currentState, ApplicationState newStateKey, VersionedValue newValue)
void
StorageService. beforeChange(InetAddressAndPort endpoint, EndpointState currentState, ApplicationState newStateKey, VersionedValue newValue)
void
ActiveRepairService. onChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
void
LoadBroadcaster. onChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
void
StorageService. onChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value)
-