Skip to content

Instantly share code, notes, and snippets.

@Swarnim-singhal
Created September 5, 2019 03:14
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/21ef4714b76d9af54440c30fc7ae293f to your computer and use it in GitHub Desktop.
Save Swarnim-singhal/21ef4714b76d9af54440c30fc7ae293f to your computer and use it in GitHub Desktop.
ApplicationState
public enum ApplicationState {
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