com.sleepycat.je.utilint
Class MemoryRedirectHandler
java.lang.Object
java.util.logging.Handler
com.sleepycat.je.utilint.MemoryRedirectHandler
public class MemoryRedirectHandler
- extends Handler
Redirects logging messages to the the owning environment's memory handler,
so that messages can be prefixed with an environment name and collected in
an per-environment memory buffer.
Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryRedirectHandler
public MemoryRedirectHandler()
publish
public void publish(LogRecord record)
- Specified by:
publish
in class Handler
close
public void close()
throws SecurityException
- Specified by:
close
in class Handler
- Throws:
SecurityException
flush
public void flush()
- Specified by:
flush
in class Handler
Copyright (c) 2004-2010 Oracle. All rights reserved.