gr.uoa.di.madgik.grs.store.buffer
Enum IBufferStore.MultiplexType

java.lang.Object
  extended by java.lang.Enum<IBufferStore.MultiplexType>
      extended by gr.uoa.di.madgik.grs.store.buffer.IBufferStore.MultiplexType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IBufferStore.MultiplexType>
Enclosing interface:
IBufferStore

public static enum IBufferStore.MultiplexType
extends java.lang.Enum<IBufferStore.MultiplexType>

Indicates the way that the incoming locators are read and their data persisted in the underlying storage device

Author:
gpapanikos

Enum Constant Summary
FIFO
          All locators are used sequentially from beginning to end before the next is used, in the order they were provided
FirstAvailable
          The reader that has readily available Records is used first.
 
Method Summary
static IBufferStore.MultiplexType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IBufferStore.MultiplexType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIFO

public static final IBufferStore.MultiplexType FIFO
All locators are used sequentially from beginning to end before the next is used, in the order they were provided


FirstAvailable

public static final IBufferStore.MultiplexType FirstAvailable
The reader that has readily available Records is used first. In cases where none of the readers have readily available Records, it is up to the implementation to select the way ithis is handled

Method Detail

values

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

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

valueOf

public static IBufferStore.MultiplexType 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