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

com.atomikos.timing.AlarmTimer Maven / Gradle / Ivy

/**
 * Copyright (C) 2000-2019 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.timing;


/**
 * A common interface for timers.
 * 
 * @author Lars J. Nilsson
 */
public interface AlarmTimer extends Runnable {

	public long getTimeout();

	public boolean isActive();

	public void stop();

	public void addAlarmTimerListener(AlarmTimerListener lstnr);

	public void removeAlarmTimerListener(AlarmTimerListener lstnr);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy