public class Cart extends Object implements PageReplacementStrategy, TemporalUtilityCounter
PageReplacementStrategy.Storage<PAYLOAD,PAGE extends Page<PAYLOAD>>| Constructor and Description |
|---|
Cart(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
<PAYLOAD,PAGE extends Page<PAYLOAD>> |
acquire(PAGE page,
PageReplacementStrategy.Storage<PAYLOAD,PAGE> storage) |
void |
decrement(org.neo4j.legacy.consistency.store.paging.TemporalUtility utility) |
<PAYLOAD> void |
forceEvict(Page<PAYLOAD> page) |
void |
increment(org.neo4j.legacy.consistency.store.paging.TemporalUtility utility) |
public <PAYLOAD,PAGE extends Page<PAYLOAD>> PAYLOAD acquire(PAGE page, PageReplacementStrategy.Storage<PAYLOAD,PAGE> storage) throws PageLoadFailureException
acquire in interface PageReplacementStrategyPageLoadFailureExceptionpublic <PAYLOAD> void forceEvict(Page<PAYLOAD> page)
forceEvict in interface PageReplacementStrategypublic void increment(org.neo4j.legacy.consistency.store.paging.TemporalUtility utility)
increment in interface TemporalUtilityCounterpublic void decrement(org.neo4j.legacy.consistency.store.paging.TemporalUtility utility)
decrement in interface TemporalUtilityCounterCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.