public final class BuiltInErrorProducer extends AbstractBuiltInProducer<ErrorStats> implements IStatsProducer<ErrorStats>, BuiltInProducer, AutoTieAbleProducer
SUBSYSTEM_BUILTIN| Modifier and Type | Method and Description |
|---|---|
void |
addCustomErrorCatcher(ErrorCatcher catcher) |
void |
afterConfiguration(ErrorHandlingConfig errorHandlingConfig)
Called from the error handling config instance, after a configuration update or initial configuration.
|
ErrorCatcher |
getCatcher(java.lang.String name,
java.lang.String type) |
java.lang.String |
getCategory()
Returns the category of this producer.
|
java.util.List<ErrorCatcherBean> |
getErrorCatcherBeans() |
static BuiltInErrorProducer |
getInstance()
Returns the singleton instance of this producer.
|
java.lang.String |
getProducerId()
Returns the meaningful id of this producer.
|
java.util.List<ErrorStats> |
getStats()
Returns the list of all stats.
|
void |
notifyError(java.lang.Throwable throwable) |
getSubsystem, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSubsystempublic static BuiltInErrorProducer getInstance()
public java.util.List<ErrorStats> getStats()
IStatsProducergetStats in interface IStatsProducer<ErrorStats>public java.lang.String getProducerId()
IStatsProducergetProducerId in interface IStatsProducer<ErrorStats>public java.lang.String getCategory()
IStatsProducergetCategory in interface IStatsProducer<ErrorStats>public void notifyError(java.lang.Throwable throwable)
public void afterConfiguration(ErrorHandlingConfig errorHandlingConfig)
errorHandlingConfig - public java.util.List<ErrorCatcherBean> getErrorCatcherBeans()
public ErrorCatcher getCatcher(java.lang.String name, java.lang.String type)
public void addCustomErrorCatcher(ErrorCatcher catcher)
Copyright © 2010-2020 anotheria.net. All Rights Reserved.