Record Class OConfirmResult.MissingPrevious
java.lang.Object
java.lang.Record
com.orientechnologies.orient.distributed.context.coordination.OConfirmResult.MissingPrevious
- All Implemented Interfaces:
OConfirmResult
- Enclosing interface:
OConfirmResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.distributed.context.coordination.OConfirmResult
OConfirmResult.AlreadyPresent, OConfirmResult.MissingPrevious, OConfirmResult.PromisedToOther, OConfirmResult.Success, OConfirmResult.SuccessNotPromised -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(OOperationContext ctx) Applied the operation based on the kind of result,final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MissingPrevious
public MissingPrevious()Creates an instance of aMissingPreviousrecord class.
-
-
Method Details
-
apply
Description copied from interface:OConfirmResultApplied the operation based on the kind of result,- Specified by:
applyin interfaceOConfirmResult- Parameters:
ctx-- Returns:
- if return true means is complete, false means it should retry.
-
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.
-