|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.Handlerrecord - public void flush()
flush in class java.util.logging.Handlerpublic void close()
close in class java.util.logging.Handlerpublic 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.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||