public class AbstractStatsCollector extends AbstractMustacheListener
TimeUnit.MILLISECONDS is used.
It's also possible to specify a Predicate to filter out some
templates. By default templates used for Lambda interpolation are skipped.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStatsCollector.Stats |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<String> |
IS_NOT_ONEOFF_LAMBA_TEMPLATE
Skip templates used for Lambda return value interpolation.
|
configuration| Constructor and Description |
|---|
AbstractStatsCollector(com.google.common.base.Predicate<String> templatePredicate,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
convert(long value) |
TimeUnit |
getTimeUnit() |
boolean |
isApplied(String mustacheName) |
compilationFinished, parsingStarted, renderingFinished, renderingStartedgetConfigurationKeys, checkNotInitialized, init, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic static final com.google.common.base.Predicate<String> IS_NOT_ONEOFF_LAMBA_TEMPLATE
Lambda.ONEOFF_LAMBDA_TEMPLATE_PREFIXCopyright © 2015. All Rights Reserved.