blob: 5ca321ae00fbd448d553222621a064f7117f3877 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. 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();
}
|