Record Class EnrollmentRuntimeConfiguration.Budgets
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentRuntimeConfiguration.Budgets
- Record Components:
maximumTransactions- retained transactions including tombstones, 1..1000000maximumPending- pending transactions, at most the retained countmaximumRetainedRequestBytes- retained original bytes plus serialized metadata and reserved bounded decision/receipt/result growthmaximumRequestBytes- one encoded request, 1..1048576 bytesmaximumConcurrentDispatches- concurrent dispatches, 1..1024pendingLifetime- fixed admission lifetime, at most 30 daysretryAfter- polling interval, at most the pending lifetime
- Enclosing class:
EnrollmentRuntimeConfiguration
public static record EnrollmentRuntimeConfiguration.Budgets(int maximumTransactions, int maximumPending, long maximumRetainedRequestBytes, int maximumRequestBytes, int maximumConcurrentDispatches, Duration pendingLifetime, Duration retryAfter)
extends Record
Explicit transaction budgets, including terminal replay records.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaximumConcurrentDispatchesrecord component.intReturns the value of themaximumPendingrecord component.intReturns the value of themaximumRequestBytesrecord component.longReturns the value of themaximumRetainedRequestBytesrecord component.intReturns the value of themaximumTransactionsrecord component.Returns the value of thependingLifetimerecord component.Returns the value of theretryAfterrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Budgets
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
maximumTransactions
public int maximumTransactions()Returns the value of themaximumTransactionsrecord component.- Returns:
- the value of the
maximumTransactionsrecord component
-
maximumPending
public int maximumPending()Returns the value of themaximumPendingrecord component.- Returns:
- the value of the
maximumPendingrecord component
-
maximumRetainedRequestBytes
public long maximumRetainedRequestBytes()Returns the value of themaximumRetainedRequestBytesrecord component.- Returns:
- the value of the
maximumRetainedRequestBytesrecord component
-
maximumRequestBytes
public int maximumRequestBytes()Returns the value of themaximumRequestBytesrecord component.- Returns:
- the value of the
maximumRequestBytesrecord component
-
maximumConcurrentDispatches
public int maximumConcurrentDispatches()Returns the value of themaximumConcurrentDispatchesrecord component.- Returns:
- the value of the
maximumConcurrentDispatchesrecord component
-
pendingLifetime
Returns the value of thependingLifetimerecord component.- Returns:
- the value of the
pendingLifetimerecord component
-
retryAfter
Returns the value of theretryAfterrecord component.- Returns:
- the value of the
retryAfterrecord component
-