Record Class PkiServerConfiguration.AuditProjection
java.lang.Object
java.lang.Record
zeroecho.pki.server.PkiServerConfiguration.AuditProjection
- Record Components:
maximumRecords- maximum records examined per projection pass, from 1 through 4096maximumSinkCalls- maximum sink calls per projection pass, from 1 through the record boundidleInterval- positive polling delay, at most five minutes
- Enclosing class:
PkiServerConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionAuditProjection(int maximumRecords, int maximumSinkCalls, Duration idleInterval) Validates all projection bounds. -
Method Summary
Modifier and TypeMethodDescriptiondefaults()Returns the current production defaults.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidleIntervalrecord component.intReturns the value of themaximumRecordsrecord component.intReturns the value of themaximumSinkCallsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuditProjection
Validates all projection bounds.
-
-
Method Details
-
defaults
Returns the current production defaults.- Returns:
- 256 records, 64 sink calls, and a two-second idle interval
-
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. -
maximumRecords
public int maximumRecords()Returns the value of themaximumRecordsrecord component.- Returns:
- the value of the
maximumRecordsrecord component
-
maximumSinkCalls
public int maximumSinkCalls()Returns the value of themaximumSinkCallsrecord component.- Returns:
- the value of the
maximumSinkCallsrecord component
-
idleInterval
Returns the value of theidleIntervalrecord component.- Returns:
- the value of the
idleIntervalrecord component
-