public class TimerNAF extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
TimerNAF.Handler |
static interface |
TimerNAF.TimeProvider |
Constructor and Description |
---|
TimerNAF() |
Modifier and Type | Method and Description |
---|---|
long |
age(TimerNAF.TimeProvider tp) |
void |
cancel() |
Object |
getAttachment() |
int |
getID() |
long |
getInterval() |
int |
getType() |
static long |
nextExpiry(long interval,
long systime) |
void |
reset() |
void |
reset(long new_interval) |
static void |
sleep(long msecs) |
String |
toString() |
public int getID()
public int getType()
public long age(TimerNAF.TimeProvider tp)
public Object getAttachment()
public long getInterval()
public void reset()
public void reset(long new_interval)
public void cancel()
public static void sleep(long msecs)
public static long nextExpiry(long interval, long systime)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.