|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.logging.Handler
oracle.ide.log.QueuedLoggingHandler
public final class QueuedLoggingHandler
An implementation of Handler
that logs all messages to a blocking queue.
Constructor Summary | |
---|---|
QueuedLoggingHandler() |
Method Summary | |
---|---|
void |
close() |
void |
flush() |
boolean |
isLoggable(java.util.logging.LogRecord record) |
java.util.logging.LogRecord |
poll() Polls and removes the next record from the queue. |
void |
publish(java.util.logging.LogRecord record) Publish a record. |
java.util.logging.LogRecord |
take() Takes the next record from the queue. |
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueuedLoggingHandler()
Method Detail |
---|
public java.util.logging.LogRecord take() throws java.lang.InterruptedException
java.lang.InterruptedException
- if no record is available.public java.util.logging.LogRecord poll()
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
record
-public void flush()
flush
in class java.util.logging.Handler
public void close()
close
in class java.util.logging.Handler
public boolean isLoggable(java.util.logging.LogRecord record)
isLoggable
in class java.util.logging.Handler
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |