All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy