public interface TimerSet
TimerSet is an abstraction for creating one or more
Timer instances that are interdependent in some way.
For example, AbstractSharedTimerSet is a
TimerSet that maintains a single global counter and
attributes its change to all of the Timer instances in the
set that are currently running.
| Modifier and Type | Method and Description |
|---|---|
Timer |
createTimer()
|
int |
getActiveCount()
Returns the number of
Timer instances in this set that
are currently active (i.e. |
Timer createTimer()
int getActiveCount()
Timer instances in this set that
are currently active (i.e. Timer.start() has been called
since the last Timer.stop() call.Copyright © 2022. All rights reserved.