public PersistenceCache( AutoLoadingCache<NodeImpl> nodeCache, AutoLoadingCache<RelationshipImpl> relationshipCache, EntityFactory entityFactory, RelationshipLoader relationshipLoader, PropertyKeyTokenHolder propertyKeyTokenHolder, RelationshipTypeTokenHolder relationshipTypeTokenHolder, LabelTokenHolder labelTokenHolder) { this.nodeCache = nodeCache; this.relationshipCache = relationshipCache; this.entityFactory = entityFactory; this.graphProperties = entityFactory.newGraphProperties(); this.relationshipLoader = relationshipLoader; this.propertyKeyTokenHolder = propertyKeyTokenHolder; this.relationshipTypeTokenHolder = relationshipTypeTokenHolder; this.labelTokenHolder = labelTokenHolder; }
public void evictGraphProperties() { graphProperties = entityFactory.newGraphProperties(); }