openr66.commander
Class Commander

java.lang.Object
  extended by openr66.commander.Commander
All Implemented Interfaces:
Runnable, CommanderInterface

public class Commander
extends Object
implements CommanderInterface

Commander is responsible to read from database updated data from time to time in order to achieve new runner or new configuration updates.

Author:
Frederic Bregier

Constructor Summary
Commander(InternalRunner runner)
          Prepare requests that will be executed from time to time
Commander(InternalRunner runner, boolean fromStartup)
          Prepare requests that will be executed from time to time
 
Method Summary
 void finalize()
          Finalize internal data
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commander

public Commander(InternalRunner runner)
          throws goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException,
                 goldengate.common.database.exception.GoldenGateDatabaseSqlException
Prepare requests that will be executed from time to time

Parameters:
runner -
Throws:
goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException
goldengate.common.database.exception.GoldenGateDatabaseSqlException

Commander

public Commander(InternalRunner runner,
                 boolean fromStartup)
          throws goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException,
                 goldengate.common.database.exception.GoldenGateDatabaseSqlException
Prepare requests that will be executed from time to time

Parameters:
runner -
fromStartup - True if call from startup of the server
Throws:
goldengate.common.database.exception.GoldenGateDatabaseNoConnectionException
goldengate.common.database.exception.GoldenGateDatabaseSqlException
Method Detail

finalize

public void finalize()
Finalize internal data

Specified by:
finalize in interface CommanderInterface
Overrides:
finalize in class Object

run

public void run()
Specified by:
run in interface Runnable


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