Class InterruptibleRMIThread

java.lang.Object
java.lang.Thread
ecmwf.common.rmi.interruptible.InterruptibleRMIThread
All Implemented Interfaces:
Runnable

public final class InterruptibleRMIThread extends Thread
An RMI thread that can be forcefully interrupted via socket closure.
  • Constructor Details

    • InterruptibleRMIThread

      public InterruptibleRMIThread(Runnable target)
      Instantiates a new interruptible RMI thread.
      Parameters:
      target - the target
    • InterruptibleRMIThread

      public InterruptibleRMIThread(ThreadGroup group, Runnable runnable, String name, long stackSize)
      Instantiates a new interruptible RMI thread.
      Parameters:
      group - the group
      runnable - the runnable
      name - the name
      stackSize - the stack size
  • Method Details

    • interrupt

      public void interrupt()
      Interrupt.
      Overrides:
      interrupt in class Thread