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
This class represents messages having an optional "test and set" condition
- Author:
- Vegard Sjonfjell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract com.yahoo.document.TestAndSetCondition
abstract void
setCondition
(com.yahoo.document.TestAndSetCondition condition) Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentMessage
createReply, getApproxSize, getPriority, getProtocol, 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
-
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()
-