blob: ad4166c8fdb4669e80c7740aae67113f7b78ed75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi;
import com.yahoo.document.BucketId;
import com.yahoo.documentapi.messagebus.protocol.DocumentListEntry;
import java.util.List;
/**
* @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
*/
public class BucketListVisitorResponse extends VisitorResponse {
private BucketId bucketId;
private List<DocumentListEntry> documents;
public BucketListVisitorResponse(BucketId bucketId, List<DocumentListEntry> documents, AckToken token) {
super(token);
this.bucketId = bucketId;
this.documents = documents;
}
public BucketId getBucketId() {
return bucketId;
}
public List<DocumentListEntry> getDocuments() {
return documents;
}
}
|