com.metamatrix.common.buffer
Enum BufferManager.TupleSourceStatus

java.lang.Object
  extended by java.lang.Enum<BufferManager.TupleSourceStatus>
      extended by com.metamatrix.common.buffer.BufferManager.TupleSourceStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BufferManager.TupleSourceStatus>
Enclosing interface:
BufferManager

public static enum BufferManager.TupleSourceStatus
extends java.lang.Enum<BufferManager.TupleSourceStatus>


Enum Constant Summary
ACTIVE
          Indicates the status of a TupleSource is active; the TupleSource is itself currently still receiving data.
FULL
          Indicates the status of a TupleSource is full; the TupleSource has loaded all of its tuples.
 
Method Summary
static BufferManager.TupleSourceStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BufferManager.TupleSourceStatus[] 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

ACTIVE

public static final BufferManager.TupleSourceStatus ACTIVE
Indicates the status of a TupleSource is active; the TupleSource is itself currently still receiving data.

See Also:
BufferManager.getStatus(com.metamatrix.common.buffer.TupleSourceID), BufferManager.setStatus(com.metamatrix.common.buffer.TupleSourceID, com.metamatrix.common.buffer.BufferManager.TupleSourceStatus)

FULL

public static final BufferManager.TupleSourceStatus FULL
Indicates the status of a TupleSource is full; the TupleSource has loaded all of its tuples.

See Also:
BufferManager.getStatus(com.metamatrix.common.buffer.TupleSourceID), BufferManager.setStatus(com.metamatrix.common.buffer.TupleSourceID, com.metamatrix.common.buffer.BufferManager.TupleSourceStatus)
Method Detail

values

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

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

valueOf

public static BufferManager.TupleSourceStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009. All Rights Reserved.