Record Class BlueMindSessionCache.Key
java.lang.Object
java.lang.Record
org.exoplatform.caldav.client.bluemind.BlueMindSessionCache.Key
- Record Components:
serverId- the declared server registration, zero for the legacy deployment propertyexoLogin- the eXo login whose credentials opened the sessionactsAs- the account those credentials address on that server — the user's own for the Personal provider, the impersonated target for the technical-account one; null when the configured provider names none
- Enclosing class:
BlueMindSessionCache
public static record BlueMindSessionCache.Key(long serverId, String exoLogin, String actsAs)
extends Record
The account a session belongs to. Three fields, all compared, none
folded into a hash.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactsAs()Returns the value of theactsAsrecord component.final booleanIndicates whether some other object is "equal to" this one.exoLogin()Returns the value of theexoLoginrecord component.final inthashCode()Returns a hash code value for this object.longserverId()Returns the value of theserverIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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 '=='. -
serverId
public long serverId()Returns the value of theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
exoLogin
Returns the value of theexoLoginrecord component.- Returns:
- the value of the
exoLoginrecord component
-
actsAs
Returns the value of theactsAsrecord component.- Returns:
- the value of the
actsAsrecord component
-