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 |
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 int MAX_CACHED_TYPES_DEFAULT
public StandardSchemaCache(SchemaCache.StoreRetrieval retriever)
public StandardSchemaCache(int size,
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.