public static class AxonServerConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public AxonServerConfiguration.Builder ssl(String certFile)
public AxonServerConfiguration.Builder token(String token)
public AxonServerConfiguration.Builder context(String context)
public AxonServerConfiguration.Builder flowControl(int initialNrOfPermits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder commandFlowControl(int initialNrOfPermits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder queryFlowControl(int initialNrOfPermits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder eventFlowControl(int initialNrOfPermits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder setEventSecretKey(String key)
public AxonServerConfiguration.Builder eventCipher(EventCipher eventCipher)
public AxonServerConfiguration.Builder maxMessageSize(int maxMessageSize)
public AxonServerConfiguration.Builder snapshotPrefetch(int snapshotPrefetch)
public AxonServerConfiguration.Builder commandLoadFactor(int commandLoadFactor)
public AxonServerConfiguration build()
AxonServerConfiguration
as specified through this Builder.AxonServerConfiguration
as specified through this Builderpublic AxonServerConfiguration.Builder servers(String servers)
public AxonServerConfiguration.Builder suppressDownloadMessage()
public AxonServerConfiguration.Builder componentName(String componentName)
public AxonServerConfiguration.Builder clientId(String clientId)
public AxonServerConfiguration.Builder connectTimeout(long timeout)
Copyright © 2010–2020. All rights reserved.