public class LifecycleManagedBoltFactory extends org.neo4j.kernel.lifecycle.LifecycleAdapter implements BoltFactory
| Constructor and Description |
|---|
LifecycleManagedBoltFactory(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) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
BoltStateMachine |
newMachine(String connectionDescriptor,
Runnable onClose,
Clock clock)
Generate a new state machine.
|
void |
shutdown() |
void |
start() |
void |
stop() |
public LifecycleManagedBoltFactory(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)
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.Lifecycleinit in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic 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 shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.Lifecycleshutdown in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic BoltStateMachine newMachine(String connectionDescriptor, Runnable onClose, Clock clock)
BoltFactorynewMachine in interface BoltFactoryconnectionDescriptor - textual description of the connection for logging purposesonClose - 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.