public class RequestContextFactory
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_EVENT_IDENTIFIER |
| Constructor and Description |
|---|
RequestContextFactory(int serverId,
Supplier<org.neo4j.kernel.impl.transaction.log.TransactionIdStore> txIdStoreSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.com.RequestContext |
newRequestContext() |
org.neo4j.com.RequestContext |
newRequestContext(int eventIdentifier) |
org.neo4j.com.RequestContext |
newRequestContext(long epoch,
int machineId,
int eventIdentifier) |
void |
setEpoch(long epoch) |
void |
start() |
void |
stop() |
public static final int DEFAULT_EVENT_IDENTIFIER
public RequestContextFactory(int serverId,
Supplier<org.neo4j.kernel.impl.transaction.log.TransactionIdStore> txIdStoreSupplier)
public void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.Lifecyclestop in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void setEpoch(long epoch)
public org.neo4j.com.RequestContext newRequestContext(long epoch,
int machineId,
int eventIdentifier)
public org.neo4j.com.RequestContext newRequestContext(int eventIdentifier)
public org.neo4j.com.RequestContext newRequestContext()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.