aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi/src/main/java/com/yahoo/documentapi/AckToken.java
blob: 2360c673948bc853e01a4b8529d962e67afa13f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi;

/**
 * Token to use to acknowledge data for visiting.
 *
 * @author Thomas Gundersen
 */
public class AckToken {

    public Object ackObject;

    /**
     * Creates ack token from the supplied parameter.
     *
     * @param ackObject the object to use to ack data
     */
    public AckToken(Object ackObject) {
        this.ackObject = ackObject;
    }
}