com.van.logging.IFlushAndPublish Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appender-core Show documentation
Show all versions of appender-core Show documentation
Core functionality to send content to various channels, used by appender-log4j2
package com.van.logging;
import java.util.concurrent.Future;
/**
* An interface for an implementation that will flush and publish
* cached content.
*/
public interface IFlushAndPublish {
/**
* Flush and publish cached content and return a Future <Boolean>
* for the result.
*
* @return Future <Boolean> for the result. This CAN BE
* null
if there was nothing published.
*/
Future flushAndPublish();
}