public class TestTimerFactory extends Object implements TimerFactory
Constructor and Description |
---|
TestTimerFactory() |
Modifier and Type | Method and Description |
---|---|
Timer |
createTimer() |
Runnable |
getAction() |
long |
getDelay() |
long |
getInitialDelay() |
Timer.SchedulingType |
getSchedulingType() |
TimeUnit |
getTimeUnit() |
boolean |
isActive() |
boolean |
isShutdown() |
void |
shutdown() |
public long getInitialDelay()
public long getDelay()
public Timer.SchedulingType getSchedulingType()
public TimeUnit getTimeUnit()
public Runnable getAction()
public Timer createTimer()
createTimer
in interface TimerFactory
public void shutdown()
shutdown
in interface TimerFactory
public boolean isActive()
public boolean isShutdown()
Copyright © 2013. All rights reserved.