Record Class DedupeStoreStatus
java.lang.Object
java.lang.Record
org.j7m.middleware.api.reliability.DedupeStoreStatus
- Record Components:
entries- current entry countfirstSeenCount- first-seen decisionsduplicateCount- duplicate observationsrejectedCount- rejected duplicate decisionspreviousResultCount- previous-result decisionsnonDurable- whether the store is non-durablemetadata- safe implementation metadata
- All Implemented Interfaces:
Serializable
public record DedupeStoreStatus(long entries, long firstSeenCount, long duplicateCount, long rejectedCount, long previousResultCount, boolean nonDurable, Map<String,String> metadata)
extends Record
implements Serializable
Read-only status for a dedupe store.
The record is immutable, serializable, and thread-safe.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDedupeStoreStatus(long entries, long firstSeenCount, long duplicateCount, long rejectedCount, long previousResultCount, boolean nonDurable, Map<String, String> metadata) Creates a validated store status. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theduplicateCountrecord component.longentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefirstSeenCountrecord component.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.booleanReturns the value of thenonDurablerecord component.longReturns the value of thepreviousResultCountrecord component.longReturns the value of therejectedCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DedupeStoreStatus
-
-
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. -
entries
-
firstSeenCount
public long firstSeenCount()Returns the value of thefirstSeenCountrecord component.- Returns:
- the value of the
firstSeenCountrecord component
-
duplicateCount
public long duplicateCount()Returns the value of theduplicateCountrecord component.- Returns:
- the value of the
duplicateCountrecord component
-
rejectedCount
public long rejectedCount()Returns the value of therejectedCountrecord component.- Returns:
- the value of the
rejectedCountrecord component
-
previousResultCount
public long previousResultCount()Returns the value of thepreviousResultCountrecord component.- Returns:
- the value of the
previousResultCountrecord component
-
nonDurable
public boolean nonDurable()Returns the value of thenonDurablerecord component.- Returns:
- the value of the
nonDurablerecord component
-
metadata
-