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 |
expireSchemaName(String name) |
void |
expireSchemaRelations(long schemaId) |
Long |
getSchemaId(String schemaName,
StandardTitanTx tx) |
EntryList |
getSchemaRelations(long schemaId,
BaseRelationType type,
com.tinkerpop.blueprints.Direction dir,
StandardTitanTx tx) |
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, StandardTitanTx tx)
getSchemaId in interface SchemaCachepublic EntryList getSchemaRelations(long schemaId, BaseRelationType type, com.tinkerpop.blueprints.Direction dir, StandardTitanTx tx)
getSchemaRelations in interface SchemaCachepublic void expireSchemaName(String name)
expireSchemaName in interface SchemaCachepublic void expireSchemaRelations(long schemaId)
expireSchemaRelations in interface SchemaCacheCopyright © 2012–2014. All rights reserved.