163164165166167168169170171172173
if (isCancelled()) { return; } if (null == parameter) { setException(new RaftException(controller.errorText())); } else { set(parameter); } }
37383940414243
} @Nonnull @Override public ListenableFuture<Object> commitOperation(@Nonnull RaftStateContext ctx, @Nonnull byte[] operation) throws RaftException { throw new RaftException("Service is stopped"); }
46474849505152
} @Nonnull @Override public ListenableFuture<Object> commitOperation(@Nonnull RaftStateContext ctx, @Nonnull byte[] operation) throws RaftException { throw new RaftException("Service has not started yet"); }