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

import com.yahoo.document.DocumentId;
import com.yahoo.document.DocumentPut;
import com.yahoo.document.DocumentRemove;
import com.yahoo.document.DocumentUpdate;
import com.yahoo.document.TestAndSetCondition;

public interface SimpleFeedAccess {

    void put(DocumentPut doc);
    void remove(DocumentRemove remove);
    void update(DocumentUpdate update);
    boolean isAborted();
    void close();
}