Bump upstream versions
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / OperationCallback.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.controller.cluster.datastore;
9
10 import java.util.concurrent.atomic.AtomicReference;
11
12 @Deprecated(since = "9.0.0", forRemoval = true)
13 interface OperationCallback {
14     class Reference extends AtomicReference<OperationCallback> {
15         private static final long serialVersionUID = 1L;
16
17         Reference(final OperationCallback initialValue) {
18             super(initialValue);
19         }
20     }
21
22     void run();
23
24     void pause();
25
26     void resume();
27
28     void success();
29
30     void failure();
31 }