openr66.commander
Class InternalRunner

java.lang.Object
  extended by openr66.commander.InternalRunner

public class InternalRunner
extends Object

This class launch and control the Commander and enable TaskRunner job submissions

Author:
Frederic Bregier

Constructor Summary
InternalRunner()
          Create the structure to enable submission by database
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalRunner

public InternalRunner()
               throws goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException,
                      goldengate.common.database.exception.GoldenGateDatabaseSqlException
Create the structure to enable submission by database

Throws:
goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException
goldengate.common.database.exception.GoldenGateDatabaseSqlException
Method Detail

getNetworkTransaction

public NetworkTransaction getNetworkTransaction()

submitTaskRunner

public void submitTaskRunner(DbTaskRunner taskRunner)
Submit a task

Parameters:
taskRunner -

prepareStopInternalRunner

public void prepareStopInternalRunner()
First step while shutting down the service


stopInternalRunner

public void stopInternalRunner()
This should be called when the server is shutting down, after stopping active requests if possible.


nbInternalRunner

public int nbInternalRunner()

reloadInternalRunner

public void reloadInternalRunner()
                          throws goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException,
                                 goldengate.common.database.exception.GoldenGateDatabaseSqlException
Throws:
goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException
goldengate.common.database.exception.GoldenGateDatabaseSqlException


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.