| Modifier and Type | Method and Description |
|---|---|
void |
AccumulatorRepository.notifyProducerRegistered(IStatsProducer<S> producer) |
void |
AccumulatorRepository.notifyProducerUnregistered(IStatsProducer<S> producer) |
protected boolean |
AccumulatorRepository.tie(Accumulator acc,
IStatsProducer<? extends IStats> producer) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlueprintProducer
This special producer type is used whenever you have monitorable objects which are created on request and should be recycled afterwards (for example command pattern, or struts 2 action).
|
| Modifier and Type | Method and Description |
|---|---|
IStatsProducer |
TraceStep.getProducer()
Returns associated producer.
|
| Modifier and Type | Method and Description |
|---|---|
TraceStep |
CurrentlyTracedCall.startStep(java.lang.String call,
IStatsProducer producer,
java.lang.String methodName)
Creates a new sub step in current call.
|
| Constructor and Description |
|---|
TraceStep(java.lang.String aCall,
IStatsProducer aProducer,
java.lang.String aMethodName)
Creates a new trace step.
|
| Modifier and Type | Method and Description |
|---|---|
IStatsProducer |
MoSKitoContext.getLastProducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
MoSKitoContext.setLastProducer(IStatsProducer lastProducer) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntryCountLimitedOnDemandStatsProducer<S extends IStats>
This implementation of the OnDemandStatsProducer has a hardcoded entry limit.
|
class |
OnDemandStatsProducer<S extends IStats>
This producer is used when the different method producing stats aren't known at compile time (or you don't want to use
them).
|
| Modifier and Type | Method and Description |
|---|---|
IStatsProducer |
MoskitoInvokationProxy.getProducer()
Returns the producer.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
PlainCallHandler.invoke(java.lang.Object target,
java.lang.Object[] args,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
java.lang.Class<?>[] declaredExceptions,
IStats _defaultStats,
IStats _methodStats,
IStatsProducer producer) |
java.lang.Object |
IOnDemandCallHandler.invoke(java.lang.Object target,
java.lang.Object[] args,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
java.lang.Class<?>[] declaredExceptions,
IStats defaultStats,
IStats methodStats,
IStatsProducer producer)
Called by the proxy on each call to target.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltInErrorProducer
This producer registers all errors in the system.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TieableRepository.addToAutoTie(T tieable,
IStatsProducer<?> producer) |
void |
TieableRepository.notifyProducerRegistered(IStatsProducer<S> producer) |
void |
TieableRepository.notifyProducerUnregistered(IStatsProducer<S> producer) |
protected abstract boolean |
TieableRepository.tie(T t,
IStatsProducer<? extends IStats> to) |
| Constructor and Description |
|---|
AutoTieWrapper(Tieable aTieable,
IStatsProducer<? extends IStats> aProducer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LoggerUtil.createSLF4JDefaultAndIntervalStatsLogger(IStatsProducer producer) |
static void |
LoggerUtil.createSLF4JDefaultAndIntervalStatsLogger(IStatsProducer producer,
java.lang.String loggerNamePrefix) |
static void |
LoggerUtil.createSLF4JDefaultStatsLogger(IStatsProducer producer) |
static void |
LoggerUtil.createSLF4JDefaultStatsLogger(IStatsProducer producer,
java.lang.String loggerName) |
static void |
LoggerUtil.createSLF4JIntervalStatsLoggerForAllConfiguredIntervals(IStatsProducer producer)
Creates interval stats loggers for all configured intervals.
|
static void |
LoggerUtil.createSLF4JIntervalStatsLoggerForAllConfiguredIntervals(IStatsProducer producer,
java.lang.String loggerNamePrefix)
Creates interval stats loggers for all configured intervals.
|
| Constructor and Description |
|---|
DefaultStatsLogger(IStatsProducer aTarget,
ILogOutput anOutput)
Creates a new DefaultStatsLogger with 60 seconds output interval.
|
DefaultStatsLogger(IStatsProducer aTarget,
ILogOutput anOutput,
int anOutputIntervalInSeconds)
Creates a new DefaultStatsLogger.
|
IntervalStatsLogger(IStatsProducer aTarget,
Interval anInterval,
ILogOutput anOutput)
Creates a new IntervalStatsLogger and connects it to the given target, interval and output.
|
IntervalStatsLogger(IStatsProducer aTarget,
Interval anInterval,
ILogOutput anOutput,
TimeUnit unit)
Creates a new IntervalStatsLogger and connects it to the given target, interval and output.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
ServiceStatsCallHandlerWithCallSysout.invoke(java.lang.Object target,
java.lang.Object[] args,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
java.lang.Class<?>[] declaredExceptions,
IStats aDefaultStats,
IStats aMethodStats,
IStatsProducer producer) |
java.lang.Object |
ServiceStatsCallHandler.invoke(java.lang.Object target,
java.lang.Object[] args,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
java.lang.Class<?>[] declaredExceptions,
IStats aDefaultStats,
IStats aMethodStats,
IStatsProducer producer) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStatsProducer
This abstract class is the super class of all IStatsProducer.
|
| Modifier and Type | Method and Description |
|---|---|
IStatsProducer |
ProducerReference.get()
Returns the underlying stats producer.
|
IStatsProducer |
IProducerRegistryAPI.getProducer(java.lang.String producerId)
Returns the producer with the given producerId.
|
IStatsProducer |
ProducerRegistryImpl.getProducer(java.lang.String producerId) |
IStatsProducer |
ProducerRegistryAPIImpl.getProducer(java.lang.String producerId) |
IStatsProducer |
IProducerRegistry.getProducer(java.lang.String producerId)
Returns a producer with given id.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IStatsProducer> |
IProducerRegistryAPI.getAllProducers()
Returns all registered producers.
|
java.util.List<IStatsProducer> |
ProducerRegistryAPIImpl.getAllProducers() |
java.util.List<IStatsProducer> |
IProducerRegistryAPI.getAllProducersByCategory(java.lang.String category)
Returns all registered producers for the given category.
|
java.util.List<IStatsProducer> |
ProducerRegistryAPIImpl.getAllProducersByCategory(java.lang.String category) |
java.util.List<IStatsProducer> |
IProducerRegistryAPI.getAllProducersBySubsystem(java.lang.String subsystem)
Returns all registered producers for the given subsystem.
|
java.util.List<IStatsProducer> |
ProducerRegistryAPIImpl.getAllProducersBySubsystem(java.lang.String subsystem) |
java.util.Collection<IStatsProducer> |
ProducerRegistryImpl.getProducers() |
java.util.Collection<IStatsProducer> |
IProducerRegistry.getProducers()
Returns registered producers.
|
java.util.List<IStatsProducer> |
IProducerRegistryAPI.getProducers(IProducerFilter... filters)
Returns a filtered list of producers.
|
java.util.List<IStatsProducer> |
ProducerRegistryAPIImpl.getProducers(IProducerFilter... filters) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IProducerFilter.doesFit(IStatsProducer producer)
Called by ProducerRegistryAPI for each stored producer in order to determine whether the producer should
be included in the result.
|
void |
ProducerRegistryAPIImpl.notifyProducerRegistered(IStatsProducer producer) |
void |
IProducerRegistryListener.notifyProducerRegistered(IStatsProducer<S> producer)
Called whenever a new producer is registered.
|
void |
JMXBridgeListener.notifyProducerRegistered(IStatsProducer<S> producer) |
void |
ProducerRegistryAPIImpl.notifyProducerUnregistered(IStatsProducer producer) |
void |
IProducerRegistryListener.notifyProducerUnregistered(IStatsProducer<S> producer)
Called whenever a producer is unregistered.
|
void |
JMXBridgeListener.notifyProducerUnregistered(IStatsProducer<S> producer) |
void |
ProducerRegistryImpl.registerProducer(IStatsProducer producer) |
void |
IProducerRegistry.registerProducer(IStatsProducer producer)
Registers a stats producer.
|
void |
ProducerRegistryImpl.unregisterProducer(IStatsProducer producer) |
void |
IProducerRegistry.unregisterProducer(IStatsProducer producer)
Unregisters a stat producer.
|
| Constructor and Description |
|---|
ProducerReference(IStatsProducer aProducer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CategoryFilter.doesFit(IStatsProducer producer) |
boolean |
SubsystemFilter.doesFit(IStatsProducer producer) |
boolean |
AllThroughFilter.doesFit(IStatsProducer producer) |
| Modifier and Type | Method and Description |
|---|---|
static ProducerSnapshot |
SnapshotCreator.createSnapshot(IStatsProducer producer,
java.lang.String intervalName)
Creates a snapshot for a producer.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ThresholdRepository.tie(Threshold threshold,
IStatsProducer<? extends IStats> producer) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBuiltInProducer<S extends IStats>
Abstract class for all builtin producers.
|
class |
BuiltInGCProducer
Builtin producer for values supplied by GC.
|
class |
BuiltinGlobalRequestProcessorProducer
Producer for values supplied by Global Request Processor.
|
class |
BuiltInMemoryPoolProducer
Builtin producer for memory pool monitoring.
|
class |
BuiltInMemoryPoolVirtualProducer
Built in producer for monitoring of virtual memory pools, which are combination of pools based on memory type, like: all heap pools, all non-heap pools.
|
class |
BuiltInMemoryProducer
A builtin memory producer for Runtime.get...
|
class |
BuiltInOSProducer
Builtin producer for values supplied by jmx for the operation system.
|
class |
BuiltInRuntimeProducer
Builtin producer for values supplied by jmx for the runtime.
|
class |
BuiltInThreadCountProducer
A built-in producer that counts threads based on jmx provided bean.
|
class |
BuiltInThreadStatesProducer
This builtin producer monitors the thread states and how many threads are in each state i.e.
|
class |
SimpleStatsProducer<S extends IStats>
Implements
IStatsProducer and is an Inspectable. |
| Modifier and Type | Class and Description |
|---|---|
class |
Storage<K,V>
This class represents a monitorable, map-like storage.
|
Copyright © 2010-2020 anotheria.net. All Rights Reserved.