Interface Killable

All Known Subinterfaces:
Supervisable
All Known Implementing Classes:
DbModificationTracker, DefaultSessionTaskDispatcher, DefaultTaskDispatcher, PdoModificationTracker, SessionKeepAliveDaemon

public interface Killable
A thread that may be killed.
Author:
harald
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether thread has been killed.
    This doesn't necessarily mean that it's not alive anymore.
    void
    Kills this thread.
    Waits until thread has been killed.
  • Method Details

    • kill

      void kill()
      Kills this thread.
      Waits until thread has been killed. Involves cleaning up any resources.
    • isKilled

      boolean isKilled()
      Returns whether thread has been killed.
      This doesn't necessarily mean that it's not alive anymore. It just means that the kill() method has been invoked.
      Returns:
      true if killed