Record Class IracManagerKeyInfo
java.lang.Object
java.lang.Record
org.infinispan.xsite.irac.IracManagerKeyInfo
-
Constructor Summary
ConstructorsConstructorDescriptionIracManagerKeyInfo(int segment, Object key, Object owner) Creates an instance of aIracManagerKeyInforecord class. -
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.key()Returns the value of thekeyrecord component.owner()Returns the value of theownerrecord component.static IracManagerKeyInforeadFrom(ObjectInput input) intsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.static voidwriteTo(ObjectOutput output, IracManagerKeyInfo keyInfo)
-
Constructor Details
-
IracManagerKeyInfo
-
-
Method Details
-
writeTo
- Throws:
IOException
-
readFrom
public static IracManagerKeyInfo readFrom(ObjectInput input) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
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. -
segment
public int segment()Returns the value of thesegmentrecord component.- Returns:
- the value of the
segmentrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-