public class BoltFactoryImpl extends org.neo4j.kernel.lifecycle.LifecycleAdapter implements BoltFactory
| Constructor and Description |
|---|
BoltFactoryImpl(org.neo4j.kernel.internal.GraphDatabaseAPI gds,
org.neo4j.udc.UsageData usageData,
org.neo4j.kernel.impl.logging.LogService logging,
org.neo4j.kernel.impl.core.ThreadToStatementContextBridge txBridge,
Authentication authentication,
org.neo4j.kernel.api.bolt.BoltConnectionTracker connectionTracker,
org.neo4j.kernel.configuration.Config config) |
| Modifier and Type | Method and Description |
|---|---|
BoltStateMachine |
newMachine(BoltConnectionDescriptor connectionDescriptor,
Runnable onClose,
Clock clock)
Generate a new state machine.
|
void |
start() |
void |
stop() |
public BoltFactoryImpl(org.neo4j.kernel.internal.GraphDatabaseAPI gds,
org.neo4j.udc.UsageData usageData,
org.neo4j.kernel.impl.logging.LogService logging,
org.neo4j.kernel.impl.core.ThreadToStatementContextBridge txBridge,
Authentication authentication,
org.neo4j.kernel.api.bolt.BoltConnectionTracker connectionTracker,
org.neo4j.kernel.configuration.Config config)
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 BoltStateMachine newMachine(BoltConnectionDescriptor connectionDescriptor, Runnable onClose, Clock clock)
BoltFactorynewMachine in interface BoltFactoryconnectionDescriptor - description of the connection (for logging purposes)onClose - callback to call on shutdown of the state machineclock - used to keep track of execution timesBoltStateMachine instanceCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.