|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.log.StatsLog
Field Summary | |
static StatsLog |
out
|
Constructor Summary | |
StatsLog()
Construct a StatsLog object. |
Method Summary | |
void |
close()
Close the stats log. |
PrintStream |
getLogfile()
Accessor method to the log file. |
void |
open()
Open the log file with the original name information. |
void |
open(String portAndHost,
String statsLogName,
String statsLogDir)
Open the log file with the input name parameters and save them. |
void |
println(String msg)
Print to the stats log. |
void |
rollOver(long currentTime)
Check the rollOver time period to close/re-open the server log. |
void |
setrollOverTime(int seconds)
Set RollOver time. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static StatsLog out
Constructor Detail |
public StatsLog()
Method Detail |
public void open()
public void open(String portAndHost, String statsLogName, String statsLogDir)
portAndHost
- the port and host for the server processstatsLogName
- the name of the log filestatsLogDir
- the directory for the filepublic void println(String msg)
msg
- the text to printpublic void rollOver(long currentTime)
currentTime
- the current millisecond time to compare with the log open timepublic void close()
public PrintStream getLogfile()
public void setrollOverTime(int seconds)
seconds
- the number of seconds for the rollover timer
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |