com.tivoli.twg.log
Class TWGLogTracker

java.lang.Object
  extended bycom.tivoli.twg.log.TWGLogTracker
All Implemented Interfaces:
TWGQueueElement

public class TWGLogTracker
extends java.lang.Object
implements TWGQueueElement

This class is used to track a log allowing a console to retrieve a log in pieces and/or retrieve dynamic updates.


Field Summary
 
Fields inherited from interface com.tivoli.twg.engine.TWGQueueElement
QTYPE_BATCH, QTYPE_TIMER
 
Method Summary
static TWGLogTracker find(java.lang.String logName)
          Retrieve a log tracker for the specified name.
 void process(int qType)
          Method called when this element is removed from a queue.
 Vect read(TWGLogBookmark mark)
           
 Vect read(TWGLogBookmark mark, int maxSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public static TWGLogTracker find(java.lang.String logName)
Retrieve a log tracker for the specified name.

Parameters:
logName - the name of the log to track.

read

public final Vect read(TWGLogBookmark mark)

read

public Vect read(TWGLogBookmark mark,
                 int maxSize)

process

public void process(int qType)
Method called when this element is removed from a queue.

Specified by:
process in interface TWGQueueElement
Parameters:
qType - Queue type from which this method has been called. Valid types are "QTYPE_TIMER" and "QTYPE_BATCH".