Interface AlarmFactory (1.10.0)

public interface AlarmFactory

Static Methods

create(Duration duration)

public static AlarmFactory create(Duration duration)
Parameter
NameDescription
durationDuration
Returns
TypeDescription
AlarmFactory

Methods

newAlarm(Runnable runnable)

public abstract Future<?> newAlarm(Runnable runnable)
Parameter
NameDescription
runnableRunnable
Returns
TypeDescription
Future<?>