public class EmptyVersionContextSupplier extends Object implements VersionContextSupplier
VersionContextSupplier version that supply same EmptyVersionContext each time for cases
where version context mechanics is not required| Modifier and Type | Field and Description |
|---|---|
static VersionContextSupplier |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
VersionContext |
getVersionContext()
Provide version context
|
void |
init(LongSupplier lastClosedTransactionIdSupplier)
Initialise current supplier with provider of last closed transaction ids
for future version context to be able to get version ids
|
public static final VersionContextSupplier EMPTY
public void init(LongSupplier lastClosedTransactionIdSupplier)
VersionContextSupplierinit in interface VersionContextSupplierlastClosedTransactionIdSupplier - closed transaction id supplier.public VersionContext getVersionContext()
VersionContextSuppliergetVersionContext in interface VersionContextSupplierCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.