summaryrefslogtreecommitdiffstats
path: root/documentapi/src/main/java/com/yahoo/documentapi/AckToken.java
blob: 963710d6c3729d148709dbf4c2deee0ee4d3af4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2017 Yahoo Holdings. 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 <a href="mailto:thomasg@yahoo-inc.com">Thomas Gundersen</a>
 */
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;
    }
}