org.neo4j.kernel
Class BridgingCacheAccess
java.lang.Object
org.neo4j.kernel.BridgingCacheAccess
- All Implemented Interfaces:
- org.neo4j.kernel.impl.core.CacheAccessBackDoor
public class BridgingCacheAccess
- extends Object
- implements org.neo4j.kernel.impl.core.CacheAccessBackDoor
|
Constructor Summary |
BridgingCacheAccess(org.neo4j.kernel.impl.core.NodeManager nodeManager,
org.neo4j.kernel.impl.api.SchemaCache schemaCache)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgingCacheAccess
public BridgingCacheAccess(org.neo4j.kernel.impl.core.NodeManager nodeManager,
org.neo4j.kernel.impl.api.SchemaCache schemaCache)
removeNodeFromCache
public void removeNodeFromCache(long nodeId)
- Specified by:
removeNodeFromCache in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
removeRelationshipFromCache
public void removeRelationshipFromCache(long id)
- Specified by:
removeRelationshipFromCache in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
removeRelationshipTypeFromCache
public void removeRelationshipTypeFromCache(int id)
- Specified by:
removeRelationshipTypeFromCache in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
removeGraphPropertiesFromCache
public void removeGraphPropertiesFromCache()
- Specified by:
removeGraphPropertiesFromCache in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
addSchemaRule
public void addSchemaRule(org.neo4j.kernel.impl.nioneo.store.SchemaRule rule)
- Specified by:
addSchemaRule in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
removeSchemaRuleFromCache
public void removeSchemaRuleFromCache(long id)
- Specified by:
removeSchemaRuleFromCache in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
addRelationshipType
public void addRelationshipType(org.neo4j.kernel.impl.nioneo.store.NameData type)
- Specified by:
addRelationshipType in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
addPropertyIndex
public void addPropertyIndex(org.neo4j.kernel.impl.nioneo.store.NameData index)
- Specified by:
addPropertyIndex in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
patchDeletedRelationshipNodes
public void patchDeletedRelationshipNodes(long relId,
long firstNodeId,
long firstNodeNextRelId,
long secondNodeId,
long secondNodeNextRelId)
- Description copied from interface:
org.neo4j.kernel.impl.core.CacheAccessBackDoor
- Patches the relationship chain loading parts of the start and end nodes of deleted relationships. This is
a good idea to call when deleting relationships, otherwise the in memory representation of relationship chains
may become damaged.
This is not expected to remove the deleted relationship from the cache - use
CacheAccessBackDoor.removeRelationshipFromCache(long) for that purpose before calling this method.
- Specified by:
patchDeletedRelationshipNodes in interface org.neo4j.kernel.impl.core.CacheAccessBackDoor
- Parameters:
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 chain
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.