|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jour.rt.agent.BulkEventFileWriter
This creates new file for each theread.
Should be used by One thread only.
Created on 02.12.2004
Contributing Author(s):
Misha Lifschitz
Field Summary
static longDEFAULT_EVENTS_MAX
protected org.apache.log4j.Loggerlog
(package private) static java.lang.StringrunID
(package private) SystemInfoEventsystemInfo
(package private) ThreadNumberthread
static java.lang.StringWRK_SUFIX
Constructor Summary
BulkEventFileWriter()
Method Summary
voidclose()
Close All and be ready to exit.
voidclose(java.lang.Thread key)
Close the Queue for this thread.
booleanisClose()
voidrecive(java.lang.Thread key,
Queue eventQueue)
voidwrite(Queue eventQueue,
ThreadNumber thread,
SystemInfoEvent systemInfo)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
log
protected final org.apache.log4j.Logger log
runID
static java.lang.String runID
DEFAULT_EVENTS_MAX
public static final long DEFAULT_EVENTS_MAX
WRK_SUFIX
public static final java.lang.String WRK_SUFIX
thread
ThreadNumber thread
systemInfo
SystemInfoEvent systemInfo
Constructor Detail
BulkEventFileWriter
public BulkEventFileWriter()
Method Detail
recive
public void recive(java.lang.Thread key,
Queue eventQueue)
recive in interface BulkEventLogger
write
public void write(Queue eventQueue,
ThreadNumber thread,
SystemInfoEvent systemInfo)
close
public void close(java.lang.Thread key)
close in interface BulkEventLogger
isClose
public boolean isClose()
isClose in interface BulkEventLogger
close
public void close()
BulkEventLogger
close in interface BulkEventLogger
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2004 sourceforge. All Rights Reserved.