public class InternalRunner extends Object
Constructor and Description |
---|
InternalRunner()
Create the structure to enable submission by database
|
Modifier and Type | Method and Description |
---|---|
int |
allowedToSubmit() |
NetworkTransaction |
getNetworkTransaction() |
int |
nbInternalRunner() |
void |
prepareStopInternalRunner()
First step while shutting down the service
|
void |
reloadInternalRunner() |
void |
stopInternalRunner()
This should be called when the server is shutting down, after stopping
active requests if possible.
|
void |
submitTaskRunner(DbTaskRunner taskRunner)
Submit a task
|
public InternalRunner() throws WaarpDatabaseNoConnectionException, WaarpDatabaseSqlException
public NetworkTransaction getNetworkTransaction()
public int allowedToSubmit()
public void submitTaskRunner(DbTaskRunner taskRunner)
taskRunner
- public void prepareStopInternalRunner()
public void stopInternalRunner()
public int nbInternalRunner()
public void reloadInternalRunner() throws WaarpDatabaseNoConnectionException, WaarpDatabaseSqlException
Copyright © 2009–2020 Waarp. All rights reserved.