1 package org.opendaylight.controller.sal.restconf.impl.test;
3 import java.util.concurrent.*;
5 import org.opendaylight.controller.md.sal.common.api.TransactionStatus;
6 import org.opendaylight.yangtools.yang.common.RpcResult;
8 public class DummyFuture implements Future<RpcResult<TransactionStatus>> {
11 public boolean cancel(boolean mayInterruptIfRunning) {
16 public boolean isCancelled() {
21 public boolean isDone() {
26 public RpcResult<TransactionStatus> get() throws InterruptedException, ExecutionException {
31 public RpcResult<TransactionStatus> get(long timeout, TimeUnit unit) throws InterruptedException,
32 ExecutionException, TimeoutException {