public class StandardSchemaCache extends Object implements SchemaCache
SchemaCache.StoreRetrieval| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CACHED_TYPES_DEFAULT |
| Constructor and Description |
|---|
StandardSchemaCache(int size,
SchemaCache.StoreRetrieval retriever) |
StandardSchemaCache(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 int MAX_CACHED_TYPES_DEFAULT
public StandardSchemaCache(SchemaCache.StoreRetrieval retriever)
public StandardSchemaCache(int size,
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.