org.terracotta.toolkit
Enum ToolkitObjectType

java.lang.Object
  extended by java.lang.Enum<ToolkitObjectType>
      extended by org.terracotta.toolkit.ToolkitObjectType
All Implemented Interfaces:
Serializable, Comparable<ToolkitObjectType>

public enum ToolkitObjectType
extends Enum<ToolkitObjectType>

Type of toolkit objects


Enum Constant Summary
ATOMIC_LONG
          ToolkitAtomicLong
BARRIER
          ToolkitBarrier
BLOCKING_QUEUE
          ToolkitBlockingQueue
CACHE
          ToolkitCache
LIST
          ToolkitList
LOCK
          ToolkitLock
MAP
          ToolkitMap
NOTIFIER
          ToolkitNotifier
READ_WRITE_LOCK
          ToolkitReadWriteLock
SET
          ToolkitSet
SORTED_MAP
          ToolkitMap
SORTED_SET
          ToolkitSortedSet
STORE
          ToolkitStore
 
Method Summary
static ToolkitObjectType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ToolkitObjectType[] 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

LIST

public static final ToolkitObjectType LIST
ToolkitList


MAP

public static final ToolkitObjectType MAP
ToolkitMap


SORTED_MAP

public static final ToolkitObjectType SORTED_MAP
ToolkitMap


STORE

public static final ToolkitObjectType STORE
ToolkitStore


CACHE

public static final ToolkitObjectType CACHE
ToolkitCache


BLOCKING_QUEUE

public static final ToolkitObjectType BLOCKING_QUEUE
ToolkitBlockingQueue


LOCK

public static final ToolkitObjectType LOCK
ToolkitLock


READ_WRITE_LOCK

public static final ToolkitObjectType READ_WRITE_LOCK
ToolkitReadWriteLock


NOTIFIER

public static final ToolkitObjectType NOTIFIER
ToolkitNotifier


ATOMIC_LONG

public static final ToolkitObjectType ATOMIC_LONG
ToolkitAtomicLong


BARRIER

public static final ToolkitObjectType BARRIER
ToolkitBarrier


SORTED_SET

public static final ToolkitObjectType SORTED_SET
ToolkitSortedSet


SET

public static final ToolkitObjectType SET
ToolkitSet

Method Detail

values

public static ToolkitObjectType[] 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 (ToolkitObjectType c : ToolkitObjectType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ToolkitObjectType 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


Copyright © 2014 Terracotta, Inc.. All Rights Reserved.