com.sleepycat.je.utilint
Class MemoryRedirectHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by 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.


Constructor Summary
MemoryRedirectHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(LogRecord record)
           
 
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
 

Constructor Detail

MemoryRedirectHandler

public MemoryRedirectHandler()
Method Detail

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.