Esempio n. 1
0
 @Override
 public CompletableFuture<AbstractState> open() {
   context.checkThread();
   open = true;
   return CompletableFuture.completedFuture(null);
 }
Esempio n. 2
0
 @Override
 public CompletableFuture<Void> close() {
   context.checkThread();
   open = false;
   return CompletableFuture.completedFuture(null);
 }