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 forceReadFromLeader(boolean forceReadFromLeader)
public AxonServerConfiguration.Builder flowControl(int permits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder commandFlowControl(int permits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder queryFlowControl(int permits, int nrOfNewPermits, int newPermitsThreshold)
public AxonServerConfiguration.Builder eventFlowControl(int permits, int nrOfNewPermits, int newPermitsThreshold)
@Deprecated public AxonServerConfiguration.Builder setEventSecretKey(String key)
@Deprecated 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)
@Deprecated public AxonServerConfiguration.Builder suppressDownloadMessage()
public AxonServerConfiguration.Builder componentName(String componentName)
public AxonServerConfiguration.Builder clientId(String clientId)
public AxonServerConfiguration.Builder connectTimeout(long timeout)
Copyright © 2010–2024. All rights reserved.