com.sas.util
Interface ThreadedCommand

All Superinterfaces:
com.sas.util.SimpleCommand
All Known Subinterfaces:
TimedCommandInterface
All Known Implementing Classes:
TimedCommand

public interface ThreadedCommand
extends com.sas.util.SimpleCommand

Object which extends SimpleCommand to provide a method for executing a command in a Thread. The thread for the command may be interrupted, so this interface defines a method by which the command can be notified of the interrupt, so it can do whatever cleanup it needs to do.


Method Summary
 void interrupt()
          interrupt the command.
 
Methods inherited from interface com.sas.util.SimpleCommand
execute
 

Method Detail

interrupt

void interrupt()
interrupt the command.




Copyright © 2009 SAS Institute Inc. All Rights Reserved.