com.hazelcast.core
Enum Instance.InstanceType
java.lang.Object
java.lang.Enum<Instance.InstanceType>
com.hazelcast.core.Instance.InstanceType
- All Implemented Interfaces:
- Serializable, Comparable<Instance.InstanceType>
- Enclosing interface:
- Instance
public static enum Instance.InstanceType
- extends Enum<Instance.InstanceType>
QUEUE
public static final Instance.InstanceType QUEUE
MAP
public static final Instance.InstanceType MAP
SET
public static final Instance.InstanceType SET
LIST
public static final Instance.InstanceType LIST
LOCK
public static final Instance.InstanceType LOCK
TOPIC
public static final Instance.InstanceType TOPIC
MULTIMAP
public static final Instance.InstanceType MULTIMAP
ID_GENERATOR
public static final Instance.InstanceType ID_GENERATOR
ATOMIC_NUMBER
public static final Instance.InstanceType ATOMIC_NUMBER
SEMAPHORE
public static final Instance.InstanceType SEMAPHORE
COUNT_DOWN_LATCH
public static final Instance.InstanceType COUNT_DOWN_LATCH
values
public static Instance.InstanceType[] 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 (Instance.InstanceType c : Instance.InstanceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Instance.InstanceType 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
valueOf
public static Instance.InstanceType valueOf(int typeId)
getTypeId
public int getTypeId()
isAtomicNumber
public boolean isAtomicNumber()
isCountDownLatch
public boolean isCountDownLatch()
isIdGenerator
public boolean isIdGenerator()
isList
public boolean isList()
isLock
public boolean isLock()
isMap
public boolean isMap()
isMultiMap
public boolean isMultiMap()
isQueue
public boolean isQueue()
isSemaphore
public boolean isSemaphore()
isSet
public boolean isSet()
isTopic
public boolean isTopic()
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.