com.bigdata.service
Enum EventType

java.lang.Object
  extended by java.lang.Enum<EventType>
      extended by com.bigdata.service.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>

public enum EventType
extends Enum<EventType>

Type safe enum for Events.

Version:
$Id: EventType.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Enum Constant Summary
AsynchronousOverflow
          Asynchronous overflow migrates data off of the old journal and onto read-optimized index segments and is responsible for running operation which split, join, or move index partitions.
IndexSegmentBuild
          Operation that builds an index segment.
IndexSegmentOpenClose
          An IndexSegment open-close event (start is open, end is close).
IndexSegmentStoreOpenClose
          An IndexSegmentStore open-close event (start is open, end is close).
PurgeResources
          Purge resources.
SynchronousOverflow
          Synchronous overflow is a fast operation that occurs when the live journal is nearly at its maximum capacity.
 
Method Summary
static EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EventType[] 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

SynchronousOverflow

public static final EventType SynchronousOverflow
Synchronous overflow is a fast operation that occurs when the live journal is nearly at its maximum capacity. The index partition views are redefined onto a new journal during synchronous overflow, but little or no data is copied off of the old journal.


AsynchronousOverflow

public static final EventType AsynchronousOverflow
Asynchronous overflow migrates data off of the old journal and onto read-optimized index segments and is responsible for running operation which split, join, or move index partitions.


IndexSegmentBuild

public static final EventType IndexSegmentBuild
Operation that builds an index segment. Builds may either be simple (from the BTree on a Journal used to absorb writes for an index partition) or compacting merges (from the full view of the index partition).


IndexSegmentStoreOpenClose

public static final EventType IndexSegmentStoreOpenClose
An IndexSegmentStore open-close event (start is open, end is close).


IndexSegmentOpenClose

public static final EventType IndexSegmentOpenClose
An IndexSegment open-close event (start is open, end is close).


PurgeResources

public static final EventType PurgeResources
Purge resources.

See Also:
StoreManager.purgeOldResources(long, boolean)
Method Detail

values

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

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

valueOf

public static EventType 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 © 2006-2011 SYSTAP, LLC. All Rights Reserved.