Interface ScopedExclusionService.ExclusiveFunction<F,V,E extends Throwable>

Enclosing interface:
ScopedExclusionService
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScopedExclusionService.ExclusiveFunction<F,V,E extends Throwable>
Function to call once the object is locked.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(F input)
     
  • Method Details

    • apply

      V apply(@Nullable F input) throws E
      Parameters:
      input - - the locked object
      Returns:
      function result
      Throws:
      E - exception thrown by the function