Skip to content

Instantly share code, notes, and snippets.

@Swarnim-singhal
Last active September 11, 2019 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swarnim-singhal/01072c7824b5f4a86bcc4657b3201441 to your computer and use it in GitHub Desktop.
Save Swarnim-singhal/01072c7824b5f4a86bcc4657b3201441 to your computer and use it in GitHub Desktop.
AppState
public enum AppState {
STATUS,
LOAD,
SCHEMA,
DC,
RACK,
RELEASE_VERSION,
REMOVAL_COORDINATOR,
SEVERITY,
NET_VERSION,
HOST_ID,
TOKENS,
RPC_READY,
// pad to allow adding new states to existing cluster
INTERNAL_ADDRESS_AND_PORT, //Replacement for INTERNAL_IP with up to two ports
NATIVE_ADDRESS_AND_PORT, //Replacement for RPC_ADDRESS
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment