Ejemplo n.º 1
0
 final NotifyingFuture<Void> clearAsync(
     EnumSet<Flag> explicitFlags, ClassLoader explicitClassLoader) {
   InvocationContext ctx =
       getInvocationContextWithImplicitTransaction(explicitFlags, explicitClassLoader);
   ctx.setUseFutureReturnType(true);
   ClearCommand command = commandsFactory.buildClearCommand(ctx.getFlags());
   return wrapInFuture(executeCommandAndCommitIfNeeded(ctx, command));
 }
Ejemplo n.º 2
0
 final void clear(EnumSet<Flag> explicitFlags, ClassLoader explicitClassLoader) {
   InvocationContext ctx =
       getInvocationContextWithImplicitTransaction(explicitFlags, explicitClassLoader);
   ClearCommand command = commandsFactory.buildClearCommand(ctx.getFlags());
   executeCommandAndCommitIfNeeded(ctx, command);
 }
Ejemplo n.º 3
0
 @Override
 public ClearCommand buildClearCommand(Set<Flag> flags) {
   return actual.buildClearCommand(flags);
 }