Split out yang-data-tree-{api,spi}
[yangtools.git] / data / yang-data-tree-api / src / main / java / org / opendaylight / yangtools / yang / data / tree / api / DataTreeCandidateTip.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.yang.data.tree.api;
9
10 import com.google.common.annotations.Beta;
11
12 /**
13  * A {@link DataTreeCandidate} which is also a {@link DataTreeTip}. This indicates that
14  * a {@link DataTreeModification} can be prepared for commit in sequence after this candidate.
15  * DataTree implementations are encouraged to provide this instead of the basic
16  * {@link DataTreeCandidate}, as it allows users to amortize latency in systems where
17  * a candidate commit needs to be coordinated across distributed parties.
18  */
19 @Beta
20 public interface DataTreeCandidateTip extends DataTreeCandidate, DataTreeTip {
21
22 }