|
JBoss Log Manager 1.5.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logmanager.handlers.Handlers
public final class Handlers
Handler utility methods.
| Method Summary | |
|---|---|
static Runnable |
flusher(Handler handler)
Create a Runnable task that flushes a handler. |
static FlushableCloseable |
wrap(Handler handler)
Create a wrapper that exposes the handler's close and flush methods via the I/O API. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FlushableCloseable wrap(Handler handler)
handler - the logging handler
public static Runnable flusher(Handler handler)
Runnable task that flushes a handler.
handler - the handler
|
JBoss Log Manager 1.5.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||