Class IncrementTransactionSequenceRequest

All Implemented Interfaces:
Serializable, Immutable

public final class IncrementTransactionSequenceRequest extends AbstractReadTransactionRequest<IncrementTransactionSequenceRequest>
A blank transaction request. This is used to provide backfill requests in converted retransmit scenarios, such as when a initial request to a transaction (such as a ReadTransactionRequest) is satisfied by the backend before the need to replay the transaction to a different remote backend.
See Also:
  • Constructor Details

  • Method Details

    • getIncrement

      public long getIncrement()
      Return the sequence increment beyond this request's sequence.
      Returns:
      Sequence increment, guaranteed to be non-negative.
    • externalizableProxy

      protected org.opendaylight.controller.cluster.access.commands.IncrementTransactionSequenceRequest.SerialForm externalizableProxy(ABIVersion version)
      Description copied from class: Message
      Instantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatible ABIVersions. This method should never fail, as any compatibility checks should have been done by Message.cloneAsVersion(ABIVersion).
      Specified by:
      externalizableProxy in class AbstractReadTransactionRequest<IncrementTransactionSequenceRequest>
      Parameters:
      version - Requested ABI version
      Returns:
      Proxy for this object
    • cloneAsVersion

      protected IncrementTransactionSequenceRequest cloneAsVersion(ABIVersion targetVersion)
      Description copied from class: Message
      Create a copy of this message which will serialize to a stream corresponding to the specified method. This method should be implemented by the concrete final message class and should invoke the equivalent of Message(Message, ABIVersion).
      Specified by:
      cloneAsVersion in class Message<TransactionIdentifier,IncrementTransactionSequenceRequest>
      Parameters:
      targetVersion - target ABI version
      Returns:
      A message with the specified serialization stream