示例#1
0
 /** Rmoves the filter introduced by {@link #addLocalExecutionInterceptor(CallableFilter)}. */
 public void removeLocalExecutionInterceptor(CallableFilter filter) {
   executor.removeFilter(filter);
 }
示例#2
0
 /**
  * Adds a {@link CallableFilter} that gets a chance to decorate every {@link Callable}s that run
  * locally sent by the other peer.
  *
  * <p>This is useful to tweak the environment those closures are run, such as setting up the
  * thread context environment.
  */
 public void addLocalExecutionInterceptor(CallableFilter filter) {
   executor.addFilter(filter);
 }