// Copyright Vespa.ai. 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 java.util.List;
/**
* Response containing list of empty buckets.
*
* @author Einar M R Rosenvinge
*/
public class EmptyBucketsVisitorResponse extends VisitorResponse {
private List bucketIds;
/**
* Creates visitor response containing an ack token.
*
* @param bucketIds the empty buckets
* @param token the ack token
*/
public EmptyBucketsVisitorResponse(List bucketIds, AckToken token) {
super(token);
this.bucketIds = bucketIds;
}
public List getBucketIds() { return bucketIds; }
}