Ejemplo n.º 1
0
  @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()});
  }
Ejemplo n.º 2
0
 @Override
 public boolean apply(IpcCall call, IpcCommand command) {
   return call.getArguments().get("date") instanceof Date;
 }