public class CloneServerBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloneServerBuilder.Spec |
Constructor and Description |
---|
CloneServerBuilder(ManagedContext context) |
Modifier and Type | Method and Description |
---|---|
CloneServer |
build() |
CloneServerBuilder |
withBackupAddress(String backupAddress) |
CloneServerBuilder |
withBackupBinaryStarPort(int backupBstarPort) |
CloneServerBuilder |
withBackupPort(int backupPort) |
CloneServerBuilder |
withHeartbeatInterval(long heartbeatInterval) |
CloneServerBuilder |
withMode(BinaryStarReactor.Mode mode) |
CloneServerBuilder |
withPrimaryAddress(String primaryAddress) |
CloneServerBuilder |
withPrimaryBinaryStarPort(int primaryBstarPort) |
CloneServerBuilder |
withPrimaryPort(int primaryPort) |
public CloneServerBuilder(ManagedContext context)
public CloneServerBuilder withMode(BinaryStarReactor.Mode mode)
public CloneServerBuilder withPrimaryAddress(String primaryAddress)
public CloneServerBuilder withBackupAddress(String backupAddress)
public CloneServerBuilder withPrimaryPort(int primaryPort)
public CloneServerBuilder withBackupPort(int backupPort)
public CloneServerBuilder withPrimaryBinaryStarPort(int primaryBstarPort)
public CloneServerBuilder withBackupBinaryStarPort(int backupBstarPort)
public CloneServerBuilder withHeartbeatInterval(long heartbeatInterval)
public CloneServer build()
Copyright © 2019. All rights reserved.