com.bigdata.service
Class MetadataIndexCache
java.lang.Object
com.bigdata.service.AbstractIndexCache<IMetadataIndex>
com.bigdata.service.MetadataIndexCache
- Type Parameters:
T -
public class MetadataIndexCache
- extends AbstractIndexCache<IMetadataIndex>
Concrete implementation for IMetadataIndex views.
- Version:
- $Id: MetadataIndexCache.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERR_NO_METADATA_SERVICE
protected static final transient String ERR_NO_METADATA_SERVICE
- Text for an exception thrown when the metadata service has not been
discovered.
- See Also:
- Constant Field Values
MetadataIndexCache
public MetadataIndexCache(AbstractScaleOutFederation fed,
int capacity,
long timeout)
newView
protected IMetadataIndex newView(String name,
long timestamp)
- Description copied from class:
AbstractIndexCache
- Method is invoked on a cache miss and returns a view of the described
index.
- Specified by:
newView in class AbstractIndexCache<IMetadataIndex>
- Returns:
- The index view -or-
null if the described index
does not exist.
getMetadataIndexMetadata
protected MetadataIndex.MetadataIndexMetadata getMetadataIndexMetadata(String name,
long timestamp)
- Return the metadata for the metadata index itself.
Note: This method always reads through!
- Parameters:
name - The name of the scale-out index.timestamp -
- Returns:
- The metadata for the metadata index or
null
iff no scale-out index is registered by that name at that
timestamp.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.