com.emarsys.ecommon.util
Interface StopableRunnable

All Superinterfaces:
java.lang.Runnable

public interface StopableRunnable
extends java.lang.Runnable

A thread should not be stopped via the Thread.stop() method, instead, the underlying logic should do it. This interface is used to flag that not only can a thread be started, it can be stopped.

Author:
Tristan Juricek

Method Summary
 void stop()
          Stop the thread, as fast as you can.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

stop

void stop()
Stop the thread, as fast as you can.



Copyright © 2010 emarsys AG. All Rights Reserved.