com.hazelcast.nio
public enum ConnectionType extends Enum<ConnectionType>
Enum Constant and Description |
---|
BINARY_CLIENT |
CPP_CLIENT |
CSHARP_CLIENT |
JAVA_CLIENT |
MEMBER |
MEMCACHE_CLIENT |
NONE |
PYTHON_CLIENT |
REST_CLIENT |
RUBY_CLIENT |
Modifier and Type | Method and Description |
---|---|
boolean |
isBinary() |
boolean |
isClient() |
static ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionType NONE
public static final ConnectionType MEMBER
public static final ConnectionType JAVA_CLIENT
public static final ConnectionType CSHARP_CLIENT
public static final ConnectionType CPP_CLIENT
public static final ConnectionType PYTHON_CLIENT
public static final ConnectionType RUBY_CLIENT
public static final ConnectionType BINARY_CLIENT
public static final ConnectionType REST_CLIENT
public static final ConnectionType MEMCACHE_CLIENT
public static ConnectionType[] values()
for (ConnectionType c : ConnectionType.values()) System.out.println(c);
public static ConnectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isBinary()
public boolean isClient()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.