de.is24.util.monitoring
Class PerfTimer.NoPerfTimer
java.lang.Object
de.is24.util.monitoring.PerfTimer
de.is24.util.monitoring.PerfTimer.NoPerfTimer
- Enclosing class:
- PerfTimer
private static final class PerfTimer.NoPerfTimer
- extends PerfTimer
A timer that always returns 0 on measurements for performance reasons (null object).
- Author:
- Stefan Schubert, IT-E, IS24
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
private static final PerfTimer INSTANCE
PerfTimer.NoPerfTimer
private PerfTimer.NoPerfTimer()
create
static PerfTimer create()
measure
public long measure()
- Specified by:
measure in class PerfTimer
- Returns:
- the time in milli seconds from the creation of this timer until the call of this method.
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.