Class SendUpdates


public class SendUpdates
extends java.lang.Thread
implements java.io.Serializable

Class SendUpdates is a process running on the IS site it will detect the update of IS and then send it to DW by MultiQueue

See Also:
Serialized Form

Field Summary
(package private)  CreateUpdateFile cuf
          used to detect the update.
(package private) static int MAXSNO
(package private)  int MyIndex
          Global object for ISProcess.
(package private)  MultiQueue publicFIFOChannel
          Global Object for ISProcess.
(package private)  DataUpdateReceiver Receiver
          The Receiver where SendUpdates will get the Data Updates.
(package private) static int sno
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadQ, values
Constructor Summary
SendUpdates(MultiQueue FIFOChannel, int ISnumber)
Method Summary
 void run()
 void setCUF(CreateUpdateFile u)
          Set the CUF for this sendupdate message.
 void setReceiver(DataUpdateReceiver dur)
          Set the Receiver of this SendUpdate Module.
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


MultiQueue publicFIFOChannel
Global Object for ISProcess.


int MyIndex
Global object for ISProcess. describes current IS's number


CreateUpdateFile cuf
used to detect the update.


DataUpdateReceiver Receiver
The Receiver where SendUpdates will get the Data Updates.


static int sno


static final int MAXSNO
Constructor Detail


public SendUpdates(MultiQueue FIFOChannel,
                   int ISnumber)
Method Detail


public void setReceiver(DataUpdateReceiver dur)
Set the Receiver of this SendUpdate Module. It's for Andreas Performance Test.


public void setCUF(CreateUpdateFile u)
Set the CUF for this sendupdate message.


public void run()
run in class java.lang.Thread