public class TimeCounter extends ACounter
ICounter.Impl
Constructor and Description |
---|
TimeCounter(IMeasures measures,
long timeLimitInNano) |
TimeCounter(Model model,
long timeLimitInNano) |
Modifier and Type | Method and Description |
---|---|
long |
currentValue() |
getLimitValue, init, isMet, isMet, overrideLimit, update
public TimeCounter(Model model, long timeLimitInNano)
model
- the model to instrumenttimeLimitInNano
- in nanosecondpublic TimeCounter(IMeasures measures, long timeLimitInNano)
measures
- the measures recorder to checktimeLimitInNano
- in nanosecondCopyright © 2018. All rights reserved.