GigaSpaces XAP 9.5 API

com.j_spaces.core.filters
Enum ReplicationStatistics.ChannelState

java.lang.Object
  extended by java.lang.Enum<ReplicationStatistics.ChannelState>
      extended by com.j_spaces.core.filters.ReplicationStatistics.ChannelState
All Implemented Interfaces:
Serializable, Comparable<ReplicationStatistics.ChannelState>
Enclosing class:
ReplicationStatistics

public static enum ReplicationStatistics.ChannelState
extends Enum<ReplicationStatistics.ChannelState>

Specifies the current channel state

Since:
8.0
Author:
eitany

Enum Constant Summary
ACTIVE
          The channel is physically connected and after handshake has been successfully executed.
CONNECTED
          The channel is physically connected (The network is connected).
DISCONNECTED
          The channel is disconnected.
 
Method Summary
static ReplicationStatistics.ChannelState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReplicationStatistics.ChannelState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DISCONNECTED

public static final ReplicationStatistics.ChannelState DISCONNECTED
The channel is disconnected.


CONNECTED

public static final ReplicationStatistics.ChannelState CONNECTED
The channel is physically connected (The network is connected).


ACTIVE

public static final ReplicationStatistics.ChannelState ACTIVE
The channel is physically connected and after handshake has been successfully executed.

Method Detail

values

public static ReplicationStatistics.ChannelState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReplicationStatistics.ChannelState c : ReplicationStatistics.ChannelState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReplicationStatistics.ChannelState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.