public final class BuiltInErrorProducer extends AbstractBuiltInProducer<ErrorStats> implements IStatsProducer<ErrorStats>, BuiltInProducer, AutoTieAbleProducer
SUBSYSTEM_BUILTIN| Modifier and Type | Method and Description |
|---|---|
ErrorCatcher |
getCatcher(Class clazz) |
List<ErrorCatcher> |
getCatchers() |
String |
getCategory()
Returns the category of this producer.
|
static BuiltInErrorProducer |
getInstance()
Returns the singleton instance of this producer.
|
String |
getProducerId()
Returns the meaningful id of this producer.
|
List<ErrorStats> |
getStats()
Returns the list of all stats.
|
void |
notifyError(Throwable throwable) |
getSubsystem, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSubsystempublic static BuiltInErrorProducer getInstance()
public List<ErrorStats> getStats()
IStatsProducergetStats in interface IStatsProducer<ErrorStats>public String getProducerId()
IStatsProducergetProducerId in interface IStatsProducer<ErrorStats>public String getCategory()
IStatsProducergetCategory in interface IStatsProducer<ErrorStats>public void notifyError(Throwable throwable)
public ErrorCatcher getCatcher(Class clazz)
public List<ErrorCatcher> getCatchers()
Copyright © 2010-2017 anotheria.net. All Rights Reserved.