All Downloads are FREE. Search and download functionalities are using the official Maven repository.

delight.concurrency.factories.TimerFactory Maven / Gradle / Ivy

The newest version!
package delight.concurrency.factories;

import delight.concurrency.wrappers.SimpleTimer;

/**
 * Simple factory to create timers for repeating and non-repeating tasks.
 * 
 * @author mroh004
 * 
 */
public interface TimerFactory {

	public SimpleTimer scheduleOnce(int when, Runnable runnable);

	public SimpleTimer scheduleRepeating(int offsetInMs, int intervallInMs,
			Runnable runnable);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy