public static enum Connection.Type extends Enum<Connection.Type>
Enum Constant and Description |
---|
CLIENT |
MEMBER |
MEMCACHE_CLIENT |
NONE |
REST_CLIENT |
Modifier and Type | Method and Description |
---|---|
boolean |
isBinary() |
boolean |
isClient() |
static Connection.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Type NONE
public static final Connection.Type MEMBER
public static final Connection.Type CLIENT
public static final Connection.Type REST_CLIENT
public static final Connection.Type MEMCACHE_CLIENT
public static Connection.Type[] values()
for (Connection.Type c : Connection.Type.values()) System.out.println(c);
public static Connection.Type 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 © 2013 Hazelcast, Inc.. All rights reserved.