| Package | Description |
|---|---|
| tools.gsf.config | |
| tools.gsf.config.inject | |
| tools.gsf.time |
| Modifier and Type | Method and Description |
|---|---|
Stopwatch |
ServletContextBackedFactory.newStopwatch() |
| Constructor and Description |
|---|
AnnotationInjector(Stopwatch stopwatch,
Injector... injectors) |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggerStopwatch
Stopwatch that records records into a logger.
|
class |
NoopStopwatch
A timer that does nothing.
|
| Modifier and Type | Field and Description |
|---|---|
static Stopwatch |
NoopStopwatch.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static Stopwatch |
LoggerStopwatch.getInstance()
Create a stopwatch using the default logger, if debug is enabled.
|
static Stopwatch |
LoggerStopwatch.getInstance(org.slf4j.Logger logger)
Create a logger stopwatch using the logger specified.
|
static Stopwatch |
LoggerStopwatch.getInstance(String logger)
Create a logger stopwatch using the logger specified.
|
Copyright © 2016–2017. All rights reserved.