Package | Description |
---|---|
org.apache.cassandra.gms | |
org.apache.cassandra.locator | |
org.apache.cassandra.repair | |
org.apache.cassandra.service | |
org.apache.cassandra.streaming |
Modifier and Type | Field and Description |
---|---|
static IVersionedSerializer<EndpointState> |
EndpointState.serializer |
Modifier and Type | Method and Description |
---|---|
EndpointState |
Gossiper.getEndpointStateForEndpoint(java.net.InetAddress ep) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.net.InetAddress,EndpointState> |
Gossiper.doShadowRound()
Do a single 'shadow' round of gossip by retrieving endpoint states that will be stored exclusively in the
map return value, instead of endpointStateMap.
|
java.util.Set<java.util.Map.Entry<java.net.InetAddress,EndpointState>> |
Gossiper.getEndpointStates() |
Modifier and Type | Method and Description |
---|---|
void |
IEndpointStateChangeSubscriber.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
boolean |
Gossiper.isDeadState(EndpointState epState) |
boolean |
Gossiper.isSilentShutdownState(EndpointState epState) |
void |
Gossiper.markDead(java.net.InetAddress addr,
EndpointState localState) |
void |
IEndpointStateChangeSubscriber.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
IEndpointStateChangeSubscriber.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
IEndpointStateChangeSubscriber.onJoin(java.net.InetAddress endpoint,
EndpointState epState)
Use to inform interested parties about the change in the state
for specified endpoint
|
void |
IEndpointStateChangeSubscriber.onRestart(java.net.InetAddress endpoint,
EndpointState state)
Called whenever a node is restarted.
|
void |
Gossiper.realMarkAlive(java.net.InetAddress addr,
EndpointState localState) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
Gossiper.getHostId(java.net.InetAddress endpoint,
java.util.Map<java.net.InetAddress,EndpointState> epStates) |
boolean |
Gossiper.isSafeForStartup(java.net.InetAddress endpoint,
java.util.UUID localHostUUID,
boolean isBootstrapping,
java.util.Map<java.net.InetAddress,EndpointState> epStates)
Check if this node can safely be started and join the ring.
|
protected void |
Gossiper.maybeFinishShadowRound(java.net.InetAddress respondent,
boolean isInShadowRound,
java.util.Map<java.net.InetAddress,EndpointState> epStateMap) |
Modifier and Type | Method and Description |
---|---|
void |
ReconnectableSnitchHelper.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
ReconnectableSnitchHelper.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
ReconnectableSnitchHelper.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
ReconnectableSnitchHelper.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
ReconnectableSnitchHelper.onRestart(java.net.InetAddress endpoint,
EndpointState state) |
Modifier and Type | Method and Description |
---|---|
void |
AnticompactionTask.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
RepairSession.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
AnticompactionTask.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
RepairSession.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
AnticompactionTask.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
RepairSession.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
AnticompactionTask.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
RepairSession.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
AnticompactionTask.onRestart(java.net.InetAddress endpoint,
EndpointState epState) |
void |
RepairSession.onRestart(java.net.InetAddress endpoint,
EndpointState epState) |
Modifier and Type | Method and Description |
---|---|
void |
ActiveRepairService.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
LoadBroadcaster.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
StorageService.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
ActiveRepairService.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
LoadBroadcaster.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
StorageService.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
ActiveRepairService.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
LoadBroadcaster.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
StorageService.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
ActiveRepairService.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
LoadBroadcaster.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
StorageService.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
ActiveRepairService.onRestart(java.net.InetAddress endpoint,
EndpointState state) |
void |
LoadBroadcaster.onRestart(java.net.InetAddress endpoint,
EndpointState state) |
void |
StorageService.onRestart(java.net.InetAddress endpoint,
EndpointState state) |
static void |
MigrationManager.scheduleSchemaPull(java.net.InetAddress endpoint,
EndpointState state) |
Modifier and Type | Method and Description |
---|---|
void |
StreamSession.beforeChange(java.net.InetAddress endpoint,
EndpointState currentState,
ApplicationState newStateKey,
VersionedValue newValue) |
void |
StreamSession.onAlive(java.net.InetAddress endpoint,
EndpointState state) |
void |
StreamSession.onDead(java.net.InetAddress endpoint,
EndpointState state) |
void |
StreamSession.onJoin(java.net.InetAddress endpoint,
EndpointState epState) |
void |
StreamSession.onRestart(java.net.InetAddress endpoint,
EndpointState epState) |
Copyright © 2018 The Apache Software Foundation