blob: 21beab6b2e5bcbe7007d6d7b10b1ff40310e2b8c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and Others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Takashi ITOH - initial API and implementation
*******************************************************************************/
package org.eclipse.actf.util.win32;
/**
* IIntervalExec interface defines a method to be implemented by the object which will be
* executed in certain interval. It has the same function of {@link Runnable}, but the
* exec() method has a return value.
*/
public interface IIntervalExec {
/**
* @return the next interval time in milliseconds.
*/
public int exec();
}