Top Fields Constructors Methods
com.mchange.util.impl

public Class FSMessageLoggerAdapter

extends Object
implements FailSuppressedMessageLogger
Class Inheritance
All Implemented Interfaces
com.mchange.util.FailSuppressedMessageLogger, com.mchange.util.RobustMessageLogger, com.mchange.util.MessageLogger
Imports
java.util.Iterator, .List, .LinkedList, java.io.IOException, com.mchange.util.MessageLogger, .FailSuppressedMessageLogger

Field Summary

Modifier and TypeField and Description
pack-priv List<E>
pack-priv MessageLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private synchronized void
public synchronized void
public synchronized Iterator<E>
getFailures()

Implements com.mchange.util.FailSuppressedMessageLogger.getFailures.

returns an Iterator of IOExceptions, or null if there have been no failures

public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

failuresback to summary
pack-priv List<E> failures
innerback to summary
pack-priv MessageLogger inner

Constructor Detail

FSMessageLoggerAdapterback to summary
public FSMessageLoggerAdapter(MessageLogger wrapMe)

Method Detail

addFailureback to summary
private synchronized void addFailure(IOException e)
clearFailuresback to summary
public synchronized void clearFailures()

Implements com.mchange.util.FailSuppressedMessageLogger.clearFailures.

getFailuresback to summary
public synchronized Iterator<E> getFailures()

Implements com.mchange.util.FailSuppressedMessageLogger.getFailures.

Doc from com.mchange.util.FailSuppressedMessageLogger.getFailures.

returns an Iterator of IOExceptions, or null if there have been no failures

logback to summary
public void log(String message)

Implements com.mchange.util.RobustMessageLogger.log.

logback to summary
public void log(Throwable t, String message)

Implements com.mchange.util.RobustMessageLogger.log.