public static class AxonServerConfiguration.FlowControlConfiguration extends Object
Constructor and Description |
---|
FlowControlConfiguration() |
FlowControlConfiguration(Integer initialNrOfPermits,
Integer nrOfNewPermits,
Integer newPermitsThreshold)
Construct a
AxonServerConfiguration.FlowControlConfiguration . |
Modifier and Type | Method and Description |
---|---|
Integer |
getInitialNrOfPermits() |
Integer |
getNewPermitsThreshold() |
Integer |
getNrOfNewPermits() |
void |
setInitialNrOfPermits(Integer initialNrOfPermits) |
void |
setNewPermitsThreshold(Integer newPermitsThreshold) |
void |
setNrOfNewPermits(Integer nrOfNewPermits) |
public FlowControlConfiguration()
public FlowControlConfiguration(Integer initialNrOfPermits, Integer nrOfNewPermits, Integer newPermitsThreshold)
AxonServerConfiguration.FlowControlConfiguration
.initialNrOfPermits
- initial nr of new permitsnrOfNewPermits
- additional number of permits when application is ready for messagenewPermitsThreshold
- threshold at which application sends new permits to serverpublic Integer getInitialNrOfPermits()
public void setInitialNrOfPermits(Integer initialNrOfPermits)
public Integer getNrOfNewPermits()
public void setNrOfNewPermits(Integer nrOfNewPermits)
public Integer getNewPermitsThreshold()
public void setNewPermitsThreshold(Integer newPermitsThreshold)
Copyright © 2010–2020. All rights reserved.