public static final class ReplicationHub.Builder extends AbstractReplication.Builder<ReplicationHub,ReplicationHub.Builder>
ReplicationHub
s.Modifier and Type | Method and Description |
---|---|
ReplicationHub |
createWithId(byte identifier)
Creates a Replication instance with the given node (server) identifier.
|
ReplicationHub.Builder |
maxNumberOfChannels(int maxNumberOfChannels)
Configures the maximum number of channels could be ReplicationHub.createChannel(int)
created for
ReplicationHub s, created by this builder. |
bootstrapOnlyLocalEntries, connectionListener, engineReplication, remoteNodeValidator, tcpTransportAndNetwork, toString, udpTransport
@NotNull public ReplicationHub.Builder maxNumberOfChannels(int maxNumberOfChannels)
ReplicationHub
s, created by this builder.
Default value is 128
.
maxNumberOfChannels
- ReplicationHub.maxNumberOfChannels()
of ReplicationHub
s, created by this builderReplicationHub.maxNumberOfChannels()
@NotNull public ReplicationHub createWithId(byte identifier)
AbstractReplication.Builder
createWithId
in class AbstractReplication.Builder<ReplicationHub,ReplicationHub.Builder>
identifier
- the node (server) identifier of the returned replicationCopyright © 2015. All rights reserved.