Class VisitorResponse

java.lang.Object
com.yahoo.documentapi.VisitorResponse
Direct Known Subclasses:
BucketListVisitorResponse, DocumentOpVisitorResponse, EmptyBucketsVisitorResponse

public class VisitorResponse extends Object
Common class for all visitor responses. All visitor responses have ack tokens that must be ack'ed.
Author:
HÃ¥kon Humberset
  • Constructor Details

    • VisitorResponse

      public VisitorResponse(AckToken token)
      Creates visitor response containing an ack token.
      Parameters:
      token - the ack token
  • Method Details

    • getAckToken

      public AckToken getAckToken()
      Returns:
      The ack token.