|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 long
DEFAULT_EVENTS_MAX
protected org.apache.log4j.Logger
log
(package private) static java.lang.String
runID
(package private) SystemInfoEvent
systemInfo
(package private) ThreadNumber
thread
static java.lang.String
WRK_SUFIX
Constructor Summary
BulkEventFileWriter()
Method Summary
void
close()
Close All and be ready to exit.
void
close(java.lang.Thread key)
Close the Queue for this thread.
boolean
isClose()
void
recive(java.lang.Thread key,
Queue eventQueue)
void
write(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.