Alachisoft.NCache.Common.Enum.ClientNodeStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package Alachisoft.NCache.Common.Enum;
/**
* Client cache information on client nodes in NCache Explorer tree. 1. Unavailable means, client node is no more the part of this cluster. i.e. Cluster entry removed from client
* config on this node 2. ClientCacheUnavailable means, client cache is not created on the client node. 3. ClientCacheEnabled means, client cache is created and is started. 4.
* ClientCacheDisabled means, client cache is created but is stopped. 5. ClientCacheNotRegistered is same as ClientCacheUnavailable.. but it is used to change the state of client
* cache instead of client node.
*/
public enum ClientNodeStatus {
Unavailable,
ClientCacheUnavailable,
ClientCacheEnabled,
ClientCacheDisabled,
ClientCacheNotRegistered,
UpdatingStatus;
public static ClientNodeStatus forValue(int value) {
return values()[value];
}
public int getValue() {
return this.ordinal();
}
}