blob: 65c93e8acd9a74204f5e6407904ee01803e3a58a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus.protocol;
import com.yahoo.document.TestAndSetCondition;
/**
* This class represents messages having an optional "test and set" condition
*
* @author Vegard Sjonfjell
*/
public abstract class TestAndSetMessage extends DocumentMessage {
public abstract void setCondition(TestAndSetCondition condition);
public abstract TestAndSetCondition getCondition();
}
|