Interface BasicExecutor.SimpleCallable

Enclosing class:
BasicExecutor
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 BasicExecutor.SimpleCallable
The type of task that this executor can run.
Author:
Donal Fellows
  • Method Summary

    Modifier and Type Method Description
    void call()
    Does an action, or throws an exception if it fails to do so.
  • Method Details

    • call

      void call() throws Exception
      Does an action, or throws an exception if it fails to do so.
      Throws:
      Exception - If unable to perform the action