Interface SuccessfulCompleteHandler

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 interface SuccessfulCompleteHandler
Interface for handlers invoked when a Thread terminates.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method invoked when the given thread terminates
  • Method Details

    • handle

      void handle(Thread t)
      Method invoked when the given thread terminates
      Parameters:
      t - the thread