Package org.keycloak.crl.infinispan
Record Class X509CRLEntry
java.lang.Object
java.lang.Record
org.keycloak.crl.infinispan.X509CRLEntry
- Author:
- rmartinc
-
Constructor Summary
ConstructorsConstructorDescriptionX509CRLEntry(X509CRL crl, long lastRequestTime) Creates an instance of aX509CRLEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncrl()Returns the value of thecrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thelastRequestTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
X509CRLEntry
Creates an instance of aX509CRLEntryrecord class.- Parameters:
crl- the value for thecrlrecord componentlastRequestTime- the value for thelastRequestTimerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
crl
Returns the value of thecrlrecord component.- Returns:
- the value of the
crlrecord component
-
lastRequestTime
public long lastRequestTime()Returns the value of thelastRequestTimerecord component.- Returns:
- the value of the
lastRequestTimerecord component
-