org.sca4j.host.work
Interface PausableWork

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
DefaultPausableWork

public interface PausableWork
extends java.lang.Runnable

An instance of work that can be paused and restarted.


Method Summary
 void stop(long timeout)
          Stop the work.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

stop

void stop(long timeout)
          throws java.lang.InterruptedException
Stop the work.

Throws:
java.lang.InterruptedException


Copyright © 2008-2010 Service Symphony. All Rights Reserved.