@Override
  public void log(
      Class<? extends IpcCommand> command,
      long time,
      TimeUnit timeUnit,
      IpcCall call,
      Map<String, Object> result) {

    log.debug(
        "{} took {} {} to process {}",
        new Object[] {command.getName(), time, timeUnit.name().toLowerCase(), call.getArguments()});
  }
Esempio n. 2
0
 @Override
 public boolean apply(IpcCall call, IpcCommand command) {
   return call.getArguments().get("date") instanceof Date;
 }