public class MultiPaxosServerFactory extends Object implements ProtocolServerFactory
ProtocolServers.| Constructor and Description |
|---|
MultiPaxosServerFactory(org.neo4j.cluster.protocol.cluster.ClusterConfiguration initialConfig,
org.neo4j.logging.LogProvider logging,
StateMachines.Monitor stateMachinesMonitor) |
| Modifier and Type | Method and Description |
|---|---|
ProtocolServer |
constructSupportingInfrastructureFor(InstanceId me,
org.neo4j.cluster.com.message.MessageSource input,
org.neo4j.cluster.com.message.MessageSender output,
DelayedDirectExecutor executor,
org.neo4j.cluster.timeout.Timeouts timeouts,
Executor stateMachineExecutor,
org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.context.MultiPaxosContext context,
org.neo4j.cluster.statemachine.StateMachine[] machines)
Sets up the supporting infrastructure and communication hooks for our state machines.
|
ProtocolServer |
newProtocolServer(InstanceId me,
org.neo4j.cluster.com.message.MessageSource input,
org.neo4j.cluster.com.message.MessageSender output,
Executor stateMachineExecutor,
DelayedDirectExecutor executor,
org.neo4j.cluster.timeout.Timeouts timeouts,
org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.context.MultiPaxosContext context,
org.neo4j.cluster.protocol.snapshot.SnapshotContext snapshotContext) |
ProtocolServer |
newProtocolServer(InstanceId me,
org.neo4j.cluster.timeout.TimeoutStrategy timeoutStrategy,
org.neo4j.cluster.com.message.MessageSource input,
org.neo4j.cluster.com.message.MessageSender output,
org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.AcceptorInstanceStore acceptorInstanceStore,
org.neo4j.cluster.protocol.election.ElectionCredentialsProvider electionCredentialsProvider,
Executor stateMachineExecutor,
org.neo4j.cluster.protocol.atomicbroadcast.ObjectInputStreamFactory objectInputStreamFactory,
org.neo4j.cluster.protocol.atomicbroadcast.ObjectOutputStreamFactory objectOutputStreamFactory) |
public MultiPaxosServerFactory(org.neo4j.cluster.protocol.cluster.ClusterConfiguration initialConfig,
org.neo4j.logging.LogProvider logging,
StateMachines.Monitor stateMachinesMonitor)
public ProtocolServer newProtocolServer(InstanceId me, org.neo4j.cluster.timeout.TimeoutStrategy timeoutStrategy, org.neo4j.cluster.com.message.MessageSource input, org.neo4j.cluster.com.message.MessageSender output, org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.AcceptorInstanceStore acceptorInstanceStore, org.neo4j.cluster.protocol.election.ElectionCredentialsProvider electionCredentialsProvider, Executor stateMachineExecutor, org.neo4j.cluster.protocol.atomicbroadcast.ObjectInputStreamFactory objectInputStreamFactory, org.neo4j.cluster.protocol.atomicbroadcast.ObjectOutputStreamFactory objectOutputStreamFactory)
newProtocolServer in interface ProtocolServerFactorypublic ProtocolServer newProtocolServer(InstanceId me, org.neo4j.cluster.com.message.MessageSource input, org.neo4j.cluster.com.message.MessageSender output, Executor stateMachineExecutor, DelayedDirectExecutor executor, org.neo4j.cluster.timeout.Timeouts timeouts, org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.context.MultiPaxosContext context, org.neo4j.cluster.protocol.snapshot.SnapshotContext snapshotContext)
public ProtocolServer constructSupportingInfrastructureFor(InstanceId me, org.neo4j.cluster.com.message.MessageSource input, org.neo4j.cluster.com.message.MessageSender output, DelayedDirectExecutor executor, org.neo4j.cluster.timeout.Timeouts timeouts, Executor stateMachineExecutor, org.neo4j.cluster.protocol.atomicbroadcast.multipaxos.context.MultiPaxosContext context, org.neo4j.cluster.statemachine.StateMachine[] machines)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.