Uses of Class
org.javasimon.callback.logging.LogTemplate

Packages that use LogTemplate
org.javasimon.callback.calltree CallTreeCallback gathers information for current thread and displays it subsequent calls like a tree. 
org.javasimon.callback.lastsplits LastSplitsCallback retains last splits in a ring a buffer (fixed size FIFO queue). 
org.javasimon.callback.logging LoggingCallback is able to log stopwatch splits and statistics once in a while (N per millisecond, every N split, when split is longer than N ms, etc.) 
org.javasimon.callback.quantiles QuantilesCallback sorts splits to categories (Buckets) based on time ranges. 
 

Uses of LogTemplate in org.javasimon.callback.calltree
 

Fields in org.javasimon.callback.calltree declared as LogTemplate
private  LogTemplate<Split> CallTreeCallback.callTreeLogTemplate
          Log template used for printing call tree.
 

Constructors in org.javasimon.callback.calltree with parameters of type LogTemplate
CallTreeCallback(LogTemplate<Split> callTreeLogTemplate)
          Constructor with log template.
 

Uses of LogTemplate in org.javasimon.callback.lastsplits
 

Fields in org.javasimon.callback.lastsplits declared as LogTemplate
private  LogTemplate<Split> LastSplitsCallback.enabledStopwatchLogTemplate
          SLF4J log template shared by all stopwatches.
private  LogTemplate<Split> LastSplits.logTemplate
          Log template used to log this list of splits
 

Methods in org.javasimon.callback.lastsplits that return LogTemplate
protected  LogTemplate<Split> LastSplitsCallback.createLogTemplate(Stopwatch stopwatch)
          Create log template for given stopwatch.
 LogTemplate<Split> LastSplits.getLogTemplate()
           
 

Methods in org.javasimon.callback.lastsplits with parameters of type LogTemplate
 void LastSplits.setLogTemplate(LogTemplate<Split> logTemplate)
           
 

Uses of LogTemplate in org.javasimon.callback.logging
 

Subclasses of LogTemplate in org.javasimon.callback.logging
 class CounterLogTemplate<C>
          Log template that logs something every N invocations of the CounterLogTemplate.isEnabled(Object) method.
 class DelegateLogTemplate<C>
          Base class for log template which delegates part of the work to a concrete log template.
 class DisabledLogTemplate<C>
           
 class JULLogTemplate<C>
          Concrete log template using Logger.
 class PeriodicLogTemplate<C>
          Log template that logs something after every N milliseconds.
 class SLF4JLogTemplate<C>
          Concrete log template using SLF4J Logger.
static class SLF4JLogTemplate.Debug<C>
          SLF4J Log template with DEBUG level.
static class SLF4JLogTemplate.Info<C>
          SLF4J Log template with INFO level.
static class SLF4JLogTemplate.Warn<C>
          SLF4J Log template with WARN level.
 class SplitThresholdLogTemplate
          Log template which awakes only when split is longer than given threshold.
 

Fields in org.javasimon.callback.logging declared as LogTemplate
private  LogTemplate DelegateLogTemplate.delegate
          Delegate log template
private  LogTemplate<String> LoggingCallback.managerLogTemplate
          Log template used for manager.
private  LogTemplate<Split> LoggingCallback.stopwatchLogTemplate
          Log template used for Stopwatch splits.
 

Methods in org.javasimon.callback.logging that return LogTemplate
 LogTemplate DelegateLogTemplate.getDelegate()
          Get delegate log template
 LogTemplate<String> LoggingCallback.getManagerLogTemplate()
          Get log template used for manage warnings.
 LogTemplate<Split> LoggingCallback.getStopwatchLogTemplate()
          Get log template used for stopwatch splits.
protected  LogTemplate<Split> LoggingCallback.getStopwatchLogTemplate(Stopwatch stopwatch)
          Get log template for stopwatch, defaults to LoggingCallback.stopwatchLogTemplate.
 

Methods in org.javasimon.callback.logging with parameters of type LogTemplate
static
<C> PeriodicLogTemplate<C>
LogTemplates.everyNMilliseconds(LogTemplate<C> delegateLogger, long period)
          Produces a log template which logs something at most every N milliseconds
static
<C> PeriodicLogTemplate<C>
LogTemplates.everyNSeconds(LogTemplate<C> delegateLogger, long period)
          Produces a log template which logs something at most every N secoonds
static
<C> CounterLogTemplate<C>
LogTemplates.everyNSplits(LogTemplate<C> delegateLogger, int period)
          Produces a log template which logs something every N split
static SplitThresholdLogTemplate LogTemplates.whenSplitLongerThanMilliseconds(LogTemplate<Split> delegateLogger, long threshold)
          Produces a log template which logs something when stopwatch split is longer than threshold.
static SplitThresholdLogTemplate LogTemplates.whenSplitLongerThanNanoseconds(LogTemplate<Split> delegateLogger, long threshold)
          Produces a log template which logs something when stopwatch split is longer than threshold.
 

Constructors in org.javasimon.callback.logging with parameters of type LogTemplate
CounterLogTemplate(LogTemplate delegate, int counterMax)
          Constructor
DelegateLogTemplate(LogTemplate delegate)
          Constructor
LoggingCallback(LogTemplate<Split> stopwatchLogTemplate, LogTemplate<String> managerLogTemplate)
          Constructor wich can be used to customize log templates.
LoggingCallback(LogTemplate<Split> stopwatchLogTemplate, LogTemplate<String> managerLogTemplate)
          Constructor wich can be used to customize log templates.
PeriodicLogTemplate(LogTemplate delegate, long period)
          Constructor with other template and the required period in ms.
SplitThresholdLogTemplate(LogTemplate delegate, long threshold)
          Constructor
 

Uses of LogTemplate in org.javasimon.callback.quantiles
 

Fields in org.javasimon.callback.quantiles declared as LogTemplate
private  LogTemplate<Split> QuantilesCallback.enabledStopwatchLogTemplate
          SLF4J log template shared by all stopwatches.
private  LogTemplate<Split> Buckets.logTemplate
          Log template used to log quantiles.
 

Methods in org.javasimon.callback.quantiles that return LogTemplate
protected  LogTemplate<Split> QuantilesCallback.createLogTemplate(Stopwatch stopwatch)
          Create log template for given stopwatch.
 LogTemplate<Split> Buckets.getLogTemplate()
           
 

Methods in org.javasimon.callback.quantiles with parameters of type LogTemplate
 void Buckets.setLogTemplate(LogTemplate<Split> logTemplate)
           
 



Copyright © 2013. All Rights Reserved.