Interface AlarmFactory (1.14.2)

public interface AlarmFactory

Static Methods

create(Duration duration)

public static AlarmFactory create(Duration duration)
Parameter
Name Description
duration Duration
Returns
Type Description
AlarmFactory

Methods

newAlarm(Runnable runnable)

public abstract Future<?> newAlarm(Runnable runnable)
Parameter
Name Description
runnable Runnable
Returns
Type Description
Future<?>