Class TestAndSetMessage

java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Message
com.yahoo.documentapi.messagebus.protocol.DocumentMessage
com.yahoo.documentapi.messagebus.protocol.TestAndSetMessage
Direct Known Subclasses:
PutDocumentMessage, RemoveDocumentMessage, UpdateDocumentMessage

public abstract class TestAndSetMessage extends DocumentMessage
This class represents messages having an optional "test and set" condition
Author:
Vegard Sjonfjell
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract com.yahoo.document.TestAndSetCondition
     
    abstract void
    setCondition(com.yahoo.document.TestAndSetCondition condition)
     

    Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentMessage

    createReply, getApproxSize, getLoadType, getPriority, getProtocol, setLoadType, setPriority, swapState

    Methods inherited from class com.yahoo.messagebus.Message

    getBucketSequence, getRetry, getRetryEnabled, getRoute, getSequenceId, getTimeReceived, getTimeRemaining, getTimeRemainingNow, hasBucketSequence, hasSequenceId, isExpired, setRetry, setRetryEnabled, setRoute, setTimeReceived, setTimeReceivedNow, setTimeRemaining

    Methods inherited from class com.yahoo.messagebus.Routable

    discard, getCallStack, getContext, getTrace, getType, popHandler, pushHandler, setContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestAndSetMessage

      public TestAndSetMessage()
  • Method Details

    • setCondition

      public abstract void setCondition(com.yahoo.document.TestAndSetCondition condition)
    • getCondition

      public abstract com.yahoo.document.TestAndSetCondition getCondition()