com.bigdata.service
Enum AbstractScaleOutClient.MetadataIndexCachePolicy

java.lang.Object
  extended by java.lang.Enum<AbstractScaleOutClient.MetadataIndexCachePolicy>
      extended by com.bigdata.service.AbstractScaleOutClient.MetadataIndexCachePolicy
All Implemented Interfaces:
Serializable, Comparable<AbstractScaleOutClient.MetadataIndexCachePolicy>
Enclosing class:
AbstractScaleOutClient<T>

public static enum AbstractScaleOutClient.MetadataIndexCachePolicy
extends Enum<AbstractScaleOutClient.MetadataIndexCachePolicy>

Policy options for caching PartitionLocators for an IMetadataIndex. Warning: This feature is expected to evolve.

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

Enum Constant Summary
CacheAll
          Cache the entire IMetadataIndex.
NoCache
          Do not cache anything.
 
Method Summary
static AbstractScaleOutClient.MetadataIndexCachePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractScaleOutClient.MetadataIndexCachePolicy[] 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

CacheAll

public static final AbstractScaleOutClient.MetadataIndexCachePolicy CacheAll
Cache the entire IMetadataIndex.


NoCache

public static final AbstractScaleOutClient.MetadataIndexCachePolicy NoCache
Do not cache anything.

Method Detail

values

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

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

valueOf

public static AbstractScaleOutClient.MetadataIndexCachePolicy 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-2009 SYSTAP, LLC. All Rights Reserved.