T - public class MetadataIndexCache extends AbstractIndexCache<IMetadataIndex>
IMetadataIndex views.| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERR_NO_METADATA_SERVICE
Text for an exception thrown when the metadata service has not been
discovered.
|
log| Constructor and Description |
|---|
MetadataIndexCache(AbstractScaleOutFederation<?> fed,
int capacity,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
protected MetadataIndex.MetadataIndexMetadata |
getMetadataIndexMetadata(String name,
long timestamp)
Return the metadata for the metadata index itself.
|
protected IMetadataIndex |
newView(String name,
long timestamp)
Method is invoked on a cache miss and returns a view of the described
index.
|
dropIndexFromCache, getIndex, shutdownprotected static final transient String ERR_NO_METADATA_SERVICE
public MetadataIndexCache(AbstractScaleOutFederation<?> fed, int capacity, long timeout)
protected IMetadataIndex newView(String name, long timestamp)
AbstractIndexCachenewView in class AbstractIndexCache<IMetadataIndex>null if the described index
does not exist.protected MetadataIndex.MetadataIndexMetadata getMetadataIndexMetadata(String name, long timestamp)
Note: This method always reads through!
name - The name of the scale-out index.timestamp - null
iff no scale-out index is registered by that name at that
timestamp.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.