AppExecutorUtil.getAppScheduledExecutorService()
instead@Deprecated public abstract class Timer extends java.lang.Object implements Disposable, java.lang.Runnable
Disposable.Parent
Constructor and Description |
---|
Timer(java.lang.String name,
int span)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
Usually not invoked directly, see class javadoc.
|
int |
getSpan()
Deprecated.
|
boolean |
isDisposed()
Deprecated.
|
protected abstract void |
onTimer()
Deprecated.
|
void |
restart()
Deprecated.
|
void |
resume()
Deprecated.
|
void |
run()
Deprecated.
|
void |
setTakeInitialDelay(boolean take)
Deprecated.
|
void |
start()
Deprecated.
|
void |
suspend()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public void setTakeInitialDelay(boolean take)
public final int getSpan()
public final void start()
public void run()
run
in interface java.lang.Runnable
protected abstract void onTimer() throws java.lang.InterruptedException
java.lang.InterruptedException
public final void suspend()
public final void resume()
public final void dispose()
Disposable
dispose
in interface Disposable
public void restart()
public boolean isDisposed()
public java.lang.String toString()
toString
in class java.lang.Object