import com.google.common.util.concurrent.CheckedFuture;
import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
+import com.google.common.util.concurrent.MoreExecutors;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
throw new IllegalStateException(
id + " Transaction(" + txType + ") not committed correctly", throwable);
}
- });
-
+ }, MoreExecutors.directExecutor());
}
private static Node getNodeWithId(final RemoteDeviceId id) {