Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public void evictGraphProperties() {
   graphProperties = entityFactory.newGraphProperties();
 }