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

Alachisoft.NCache.Common.Enum.ClientNodeStatus Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy