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.
|
boolean |
submitTaskRunner(DbTaskRunner taskRunner)
Submit a task
|
public InternalRunner() throws WaarpDatabaseNoConnectionException, WaarpDatabaseSqlException
public final NetworkTransaction getNetworkTransaction()
public final int allowedToSubmit()
public final boolean submitTaskRunner(DbTaskRunner taskRunner)
taskRunner
- public final void prepareStopInternalRunner()
public final void stopInternalRunner()
public final int nbInternalRunner()
public final void reloadInternalRunner() throws WaarpDatabaseNoConnectionException, WaarpDatabaseSqlException
Copyright © 2009–2022 Waarp. All rights reserved.