@Override public <C, R> void send(C command, CommandCallback<? super C, ? super R> callback) { super.send(command, callback); }
/** * Dispatches a command without callback. When dispatching fails, since there is no callback, the command will * <em>not</em> be retried. * * @param command The command to dispatch */ protected void sendAndForget(Object command) { if (retryScheduler == null) { commandBus.dispatch(processInterceptors(asCommandMessage(command))); } else { CommandMessage<?> commandMessage = asCommandMessage(command); send(commandMessage, LoggingCallback.INSTANCE); } }
@Override public <C, R> void send(C command, CommandCallback<? super C, R> callback) { super.send(command, callback); }
@Override public <C, R> void send(C command, CommandCallback<? super C, ? super R> callback) { super.send(command, callback); }
/** * Dispatches a command without callback. When dispatching fails, since there is no callback, the command will * <em>not</em> be retried. * * @param command The command to dispatch */ protected void sendAndForget(Object command) { if (retryScheduler == null) { commandBus.dispatch(processInterceptors(asCommandMessage(command))); } else { CommandMessage<?> commandMessage = asCommandMessage(command); send(commandMessage, LoggingCallback.INSTANCE); } }
/** * Dispatches a command without callback. When dispatching fails, since there is no callback, the command will * <em>not</em> be retried. * * @param command The command to dispatch */ protected void sendAndForget(Object command) { if (retryScheduler == null) { commandBus.dispatch(processInterceptors(asCommandMessage(command))); } else { CommandMessage<?> commandMessage = asCommandMessage(command); send(commandMessage, LoggingCallback.INSTANCE); } }