Record Class AbstractLMOVEM.LmovemConfig
java.lang.Object
java.lang.Record
org.infinispan.server.resp.commands.list.AbstractLMOVEM.LmovemConfig
- Enclosing class:
AbstractLMOVEM
public static record AbstractLMOVEM.LmovemConfig(byte[] source, byte[] destination, boolean sourceLeft, boolean destLeft, int count, boolean exactly, boolean obo, long timeout)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLmovemConfig(byte[] source, byte[] destination, boolean sourceLeft, boolean destLeft, int count, boolean exactly, boolean obo, long timeout) Creates an instance of aLmovemConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.byte[]Returns the value of thedestinationrecord component.booleandestLeft()Returns the value of thedestLeftrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanexactly()Returns the value of theexactlyrecord component.final inthashCode()Returns a hash code value for this object.booleanobo()Returns the value of theoborecord component.byte[]source()Returns the value of thesourcerecord component.booleanReturns the value of thesourceLeftrecord component.longtimeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LmovemConfig
public LmovemConfig(byte[] source, byte[] destination, boolean sourceLeft, boolean destLeft, int count, boolean exactly, boolean obo, long timeout) Creates an instance of aLmovemConfigrecord class.- Parameters:
source- the value for thesourcerecord componentdestination- the value for thedestinationrecord componentsourceLeft- the value for thesourceLeftrecord componentdestLeft- the value for thedestLeftrecord componentcount- the value for thecountrecord componentexactly- the value for theexactlyrecord componentobo- the value for theoborecord componenttimeout- the value for thetimeoutrecord component
-
-
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. -
source
public byte[] source()Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
destination
public byte[] destination()Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
sourceLeft
public boolean sourceLeft()Returns the value of thesourceLeftrecord component.- Returns:
- the value of the
sourceLeftrecord component
-
destLeft
public boolean destLeft()Returns the value of thedestLeftrecord component.- Returns:
- the value of the
destLeftrecord component
-
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
exactly
public boolean exactly()Returns the value of theexactlyrecord component.- Returns:
- the value of the
exactlyrecord component
-
obo
public boolean obo()Returns the value of theoborecord component.- Returns:
- the value of the
oborecord component
-
timeout
public long timeout()Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-