com.partnersoft.staker.hub.commands
Class AsynchronousHubCommand
java.lang.Object
com.partnersoft.staker.hub.commands.AbstractHubCommand
com.partnersoft.staker.hub.commands.AsynchronousHubCommand
- All Implemented Interfaces:
- HubCommand
- Direct Known Subclasses:
- PostFromConfigManager, RestartHub, ShutdownHub
public abstract class AsynchronousHubCommand
- extends AbstractHubCommand
Runs a command asynchronously in a separate thread. Good for shutdown commands etc.
Returns immediately from runCommand(). Subclasses should not override runCommand() but instead
implement runCommandImp().
Copyright 2008 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsynchronousHubCommand
public AsynchronousHubCommand()
AsynchronousHubCommand
public AsynchronousHubCommand(java.lang.String user)
runCommand
public void runCommand()
throws java.lang.Exception
- Throws:
java.lang.Exception
runCommandImp
protected abstract void runCommandImp()
throws java.lang.Exception
- Throws:
java.lang.Exception