Class DelayedOperation
- java.lang.Object
-
- org.gcube.resourcemanagement.support.shared.util.DelayedOperation
-
public abstract class DelayedOperation extends Object
Performs a delayed action on client side. Usage:new DelayedOperation() { // @Override public void doJob() { // Here the code... } }.start(5000); // the operation will start after 5 secs.- Author:
- Daniele Strollo (ISTI-CNR)
-
-
Constructor Summary
Constructors Constructor Description DelayedOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddoJob()voidloop(int delayMills)voidstart(int delayMills)
-