Alachisoft.NCache.Common.Enum.CacheStatusOnServer Maven / Gradle / Ivy
package Alachisoft.NCache.Common.Enum;
/**
* removenode and addnode utilites work with the clusteredcaches
* only. we need to find the status of the given cache id on the
* server. this enumeration is used for the purpose.
*/
public enum CacheStatusOnServer {
Registered,
Unregistered,
ClusteredCache,
LocalCache,
MirrorCache;
public static CacheStatusOnServer forValue(int value) {
return values()[value];
}
public int getValue() {
return this.ordinal();
}
}