Interface GuardedMethodInvoker

All Known Implementing Classes:
GuardedMethodInvokerImpl

public interface GuardedMethodInvoker
Guard that only one Invocable is active at one point in time.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Invoke the invocation if it's not active.
  • Method Details

    • invokeIfNotActive

      boolean invokeIfNotActive(Invocable method)
      Invoke the invocation if it's not active.
      Parameters:
      method - The method to invoke.
      Returns:
      true if the invocation was attempted, false if another invocation was active.