public static final class ReplicationHub.Builder extends AbstractReplication.Builder<ReplicationHub,ReplicationHub.Builder>
ReplicationHubs.| 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
ReplicationHubs, created by this builder. |
bootstrapOnlyLocalEntries, connectionListener, engineReplication, remoteNodeValidator, tcpTransportAndNetwork, toString, udpTransport@NotNull public ReplicationHub.Builder maxNumberOfChannels(int maxNumberOfChannels)
ReplicationHubs, created by this builder.
Default value is 128.
maxNumberOfChannels - ReplicationHub.maxNumberOfChannels() of ReplicationHubs, created by this builderReplicationHub.maxNumberOfChannels()@NotNull public ReplicationHub createWithId(byte identifier)
AbstractReplication.BuildercreateWithId in class AbstractReplication.Builder<ReplicationHub,ReplicationHub.Builder>identifier - the node (server) identifier of the returned replicationCopyright © 2015. All rights reserved.