express.filter.FilterTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-express Show documentation
Show all versions of java-express Show documentation
HTTP Framework based on expressjs, no dependencies, simple usage.
The newest version!
package express.filter;
/**
* @author Simon Reinisch
*
* Interface for filter tasks.
*/
public interface FilterTask {
/**
* Returns the delay between the updates
*
* @return Update delay in milliseconds
*/
long getDelay();
/**
* Will be fired between the delays
*/
void onUpdate();
/**
* Will be fired on express-start
*/
void onStart();
/**
* Will be fired on express-stop
*/
void onStop();
}