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

/**
 * This class provides document <i>subscription</i> - accessing document changes to a
 * document repository.
 *
 * @author bratseth
 */
public interface SubscriptionSession extends Session {

    /**
     * Closes this subscription session without closing the subscription
     * registered on the document repository.
     * The same subscription can be accessed later by another subscription session.
     */
    public void close();

}