Beispiel #1
0
        public virtual void WarmUpCache()
        {
            int    recordsPerPage = _store.RecordsPerPage;
            long   id             = 0;
            long   half           = _store.HighId / 2;
            RECORD record         = _store.newRecord();

            while (id < half)
            {
                _store.getRecord(id, record, FORCE);
                id += recordsPerPage - 1;
            }
        }
 protected internal virtual RecordSet <RelationshipRecord> FollowChainFromNode(long nodeId, long relationshipId)
 {
     return(ExpandChain(_recordStore.getRecord(relationshipId, _recordStore.newRecord(), NORMAL), nodeId, NEXT));
 }
Beispiel #3
0
 public RelationshipTypeTokenRecord load(long key, Void additionalData)
 {
     return(_store.getRecord(key, _store.newRecord(), NORMAL));
 }
Beispiel #4
0
 public LabelTokenRecord load(long key, Void additionalData)
 {
     return(_store.getRecord(key, _store.newRecord(), NORMAL));
 }
Beispiel #5
0
 public RelationshipGroupRecord load(long key, int?type)
 {
     return(_store.getRecord(key, _store.newRecord(), NORMAL));
 }
Beispiel #6
0
 public override R NewRecord()
 {
     return(Actual.newRecord());
 }