Interface AlarmFactory (1.9.0)

See more code actions.
public interface AlarmFactory
See more code actions.
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<?>