blob: 09b3814c4d6270bb712aec1f98b850a607261ce9 (
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
30
31
32
33
34
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus.protocol;
import com.yahoo.document.BucketId;
import com.yahoo.vdslib.VisitorStatistics;
public class CreateVisitorReply extends DocumentReply {
private BucketId lastBucket;
private VisitorStatistics statistics = new VisitorStatistics();
public CreateVisitorReply(int type) {
super(type);
lastBucket = new BucketId(Integer.MAX_VALUE);
}
public void setLastBucket(BucketId lastBucket) {
this.lastBucket = lastBucket;
}
public BucketId getLastBucket() {
return lastBucket;
}
public void setVisitorStatistics(VisitorStatistics statistics) {
this.statistics = statistics;
}
public VisitorStatistics getVisitorStatistics() {
return statistics;
}
}
|