public class MetricInstrumentedSchemaCache extends Object implements SchemaCache
SchemaCache.StoreRetrieval| Modifier and Type | Field and Description |
|---|---|
static String |
METRICS_NAME |
static String |
METRICS_RELATIONS |
static String |
METRICS_TYPENAME |
| Constructor and Description |
|---|
MetricInstrumentedSchemaCache(SchemaCache.StoreRetrieval retriever) |
| Modifier and Type | Method and Description |
|---|---|
void |
expireSchemaElement(long schemaId) |
Long |
getSchemaId(String schemaName) |
EntryList |
getSchemaRelations(long schemaId,
BaseRelationType type,
org.apache.tinkerpop.gremlin.structure.Direction dir) |
public static final String METRICS_NAME
public static final String METRICS_TYPENAME
public static final String METRICS_RELATIONS
public MetricInstrumentedSchemaCache(SchemaCache.StoreRetrieval retriever)
public Long getSchemaId(String schemaName)
getSchemaId in interface SchemaCachepublic EntryList getSchemaRelations(long schemaId, BaseRelationType type, org.apache.tinkerpop.gremlin.structure.Direction dir)
getSchemaRelations in interface SchemaCachepublic void expireSchemaElement(long schemaId)
expireSchemaElement in interface SchemaCacheCopyright © 2012–2015. All rights reserved.