blob: 10ef5447f064f96e5e2fd148934cfa2f3200d930 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.feedapi;
import com.yahoo.document.Document;
import com.yahoo.document.DocumentId;
import com.yahoo.document.DocumentUpdate;
import com.yahoo.document.TestAndSetCondition;
public interface SimpleFeedAccess {
void put(Document doc);
void remove(DocumentId docId);
void update(DocumentUpdate update);
void put(Document doc, TestAndSetCondition condition);
void remove(DocumentId docId, TestAndSetCondition condition);
void update(DocumentUpdate update, TestAndSetCondition condition);
boolean isAborted();
}
|