|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.vfs.RotateStream
Automatically-rotating streams
Method Summary | |
boolean |
canWrite()
True if the stream can write |
static RotateStream |
create(Path path)
Returns the rotate stream corresponding to this path |
WriteStream |
getStream()
Gets the current write stream |
void |
handleCron(Cron cron)
Handles a callback from an alarm. |
static void |
setStderr(Path path)
Sets path as the backing stream for System.err |
static void |
setStdout(Path path)
Sets path as the backing stream for System.out |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static RotateStream create(Path path)
public static void setStdout(Path path)
public static void setStderr(Path path)
public boolean canWrite()
public WriteStream getStream()
public void handleCron(Cron cron)
CronListener
handleCron
in interface CronListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |