public class BridgingCacheAccess extends Object implements org.neo4j.kernel.impl.core.CacheAccessBackDoor
Constructor and Description |
---|
BridgingCacheAccess(org.neo4j.kernel.impl.core.NodeManager nodeManager,
org.neo4j.kernel.impl.api.SchemaCache schemaCache,
org.neo4j.kernel.impl.api.SchemaState schemaState,
org.neo4j.kernel.impl.api.PersistenceCache persistenceCache) |
Modifier and Type | Method and Description |
---|---|
void |
addLabelToken(org.neo4j.kernel.impl.core.Token label) |
void |
addPropertyKeyToken(org.neo4j.kernel.impl.core.Token propertyKey) |
void |
addRelationshipTypeToken(org.neo4j.kernel.impl.core.Token type) |
void |
addSchemaRule(org.neo4j.kernel.impl.nioneo.store.SchemaRule rule) |
void |
patchDeletedRelationshipNodes(long relId,
long firstNodeId,
long firstNodeNextRelId,
long secondNodeId,
long secondNodeNextRelId)
Patches the relationship chain loading parts of the start and end nodes of deleted relationships.
|
void |
removeGraphPropertiesFromCache() |
void |
removeNodeFromCache(long nodeId) |
void |
removeRelationshipFromCache(long id) |
void |
removeRelationshipTypeFromCache(int id) |
void |
removeSchemaRuleFromCache(long id) |
public BridgingCacheAccess(org.neo4j.kernel.impl.core.NodeManager nodeManager, org.neo4j.kernel.impl.api.SchemaCache schemaCache, org.neo4j.kernel.impl.api.SchemaState schemaState, org.neo4j.kernel.impl.api.PersistenceCache persistenceCache)
public void removeNodeFromCache(long nodeId)
removeNodeFromCache
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void removeRelationshipFromCache(long id)
removeRelationshipFromCache
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void removeRelationshipTypeFromCache(int id)
removeRelationshipTypeFromCache
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void removeGraphPropertiesFromCache()
removeGraphPropertiesFromCache
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void addSchemaRule(org.neo4j.kernel.impl.nioneo.store.SchemaRule rule)
addSchemaRule
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void removeSchemaRuleFromCache(long id)
removeSchemaRuleFromCache
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void addRelationshipTypeToken(org.neo4j.kernel.impl.core.Token type)
addRelationshipTypeToken
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void addLabelToken(org.neo4j.kernel.impl.core.Token label)
addLabelToken
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void addPropertyKeyToken(org.neo4j.kernel.impl.core.Token propertyKey)
addPropertyKeyToken
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
public void patchDeletedRelationshipNodes(long relId, long firstNodeId, long firstNodeNextRelId, long secondNodeId, long secondNodeNextRelId)
org.neo4j.kernel.impl.core.CacheAccessBackDoor
CacheAccessBackDoor.removeRelationshipFromCache(long)
for that purpose before calling this method.patchDeletedRelationshipNodes
in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
relId
- The relId of the relationship deletedfirstNodeId
- The relId of the first nodefirstNodeNextRelId
- The next relationship relId of the first node in its relationship chainsecondNodeId
- The relId of the second nodesecondNodeNextRelId
- The next relationship relId of the second node in its relationship chainCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.