public static enum Instance.InstanceType extends Enum<Instance.InstanceType>
Enum Constant and Description |
---|
ATOMIC_NUMBER |
COUNT_DOWN_LATCH |
ID_GENERATOR |
LIST |
LOCK |
MAP |
MULTIMAP |
QUEUE |
SEMAPHORE |
SET |
TOPIC |
Modifier and Type | Method and Description |
---|---|
int |
getTypeId() |
boolean |
isAtomicNumber() |
boolean |
isCountDownLatch() |
boolean |
isIdGenerator() |
boolean |
isList() |
boolean |
isLock() |
boolean |
isMap() |
boolean |
isMultiMap() |
boolean |
isQueue() |
boolean |
isSemaphore() |
boolean |
isSet() |
boolean |
isTopic() |
static Instance.InstanceType |
valueOf(int typeId) |
static Instance.InstanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.InstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.InstanceType QUEUE
public static final Instance.InstanceType MAP
public static final Instance.InstanceType SET
public static final Instance.InstanceType LIST
public static final Instance.InstanceType LOCK
public static final Instance.InstanceType TOPIC
public static final Instance.InstanceType MULTIMAP
public static final Instance.InstanceType ID_GENERATOR
public static final Instance.InstanceType ATOMIC_NUMBER
public static final Instance.InstanceType SEMAPHORE
public static final Instance.InstanceType COUNT_DOWN_LATCH
public static Instance.InstanceType[] values()
for (Instance.InstanceType c : Instance.InstanceType.values()) System.out.println(c);
public static Instance.InstanceType 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 static Instance.InstanceType valueOf(int typeId)
public int getTypeId()
public boolean isAtomicNumber()
public boolean isCountDownLatch()
public boolean isIdGenerator()
public boolean isList()
public boolean isLock()
public boolean isMap()
public boolean isMultiMap()
public boolean isQueue()
public boolean isSemaphore()
public boolean isSet()
public boolean isTopic()
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.