Class RemoveLocationMessage
java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Message
com.yahoo.documentapi.messagebus.protocol.DocumentMessage
com.yahoo.documentapi.messagebus.protocol.RemoveLocationMessage
Message to remove an entire location for users using n= or g= schemes.
We use a document selection so the user can specify a subset of those documents to be deleted
if they wish.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveLocationMessage(String documentSelection) RemoveLocationMessage(String documentSelection, String bucketSpace) -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a reply to this message.com.yahoo.document.BucketIdintgetType()Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentMessage
getApproxSize, getPriority, getProtocol, setPriority, swapStateMethods inherited from class com.yahoo.messagebus.Message
getBucketSequence, getRetry, getRetryEnabled, getRoute, getSequenceId, getTimeReceived, getTimeRemaining, getTimeRemainingNow, hasBucketSequence, hasSequenceId, isExpired, setRetry, setRetryEnabled, setRoute, setTimeReceived, setTimeReceivedNow, setTimeRemainingMethods inherited from class com.yahoo.messagebus.Routable
discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext
-
Constructor Details
-
RemoveLocationMessage
-
RemoveLocationMessage
-
-
Method Details
-
getDocumentSelection
-
createReply
Description copied from class:DocumentMessageCreates and returns a reply to this message.- Specified by:
createReplyin classDocumentMessage- Returns:
- The created reply.
-
getType
public int getType()- Specified by:
getTypein classcom.yahoo.messagebus.Routable
-
getBucketId
public com.yahoo.document.BucketId getBucketId() -
getBucketSpace
-