public class RaftLogMetadataCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftLogMetadataCache.RaftLogEntryMetadata |
| Constructor and Description |
|---|
RaftLogMetadataCache(int logEntryCacheSize) |
| Modifier and Type | Method and Description |
|---|---|
RaftLogMetadataCache.RaftLogEntryMetadata |
cacheMetadata(long logIndex,
long entryTerm,
org.neo4j.kernel.impl.transaction.log.LogPosition position) |
void |
clear() |
RaftLogMetadataCache.RaftLogEntryMetadata |
getMetadata(long logIndex)
Returns the metadata for the entry at position , null if the metadata is not present in the cache
|
void |
removeUpTo(long upTo) |
void |
removeUpwardsFrom(long startingFrom) |
public void clear()
public RaftLogMetadataCache.RaftLogEntryMetadata getMetadata(long logIndex)
public RaftLogMetadataCache.RaftLogEntryMetadata cacheMetadata(long logIndex, long entryTerm, org.neo4j.kernel.impl.transaction.log.LogPosition position)
public void removeUpTo(long upTo)
public void removeUpwardsFrom(long startingFrom)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.