com.hazelcast.core
Enum Instance.InstanceType

java.lang.Object
  extended by java.lang.Enum<Instance.InstanceType>
      extended by com.hazelcast.core.Instance.InstanceType
All Implemented Interfaces:
Serializable, Comparable<Instance.InstanceType>
Enclosing interface:
Instance

public static enum Instance.InstanceType
extends Enum<Instance.InstanceType>


Enum Constant Summary
ATOMIC_NUMBER
           
COUNT_DOWN_LATCH
           
ID_GENERATOR
           
LIST
           
LOCK
           
MAP
           
MULTIMAP
           
QUEUE
           
SEMAPHORE
           
SET
           
TOPIC
           
 
Method Summary
 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.
 
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

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
Method Detail

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.