DelayedOperation (gCube Resource Management Portlet 4.0.0-SNAPSHOT API)
Date: 2013-02-27

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.portlets.admin.resourcemanagement.shared.utils
Class DelayedOperation

    java.lang.Object
      org.gcube.portlets.admin.resourcemanagement.shared.utils.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
`DelayedOperation()`

Method Summary
`abstract void` | `doJob()`
`void` | `loop(int delayMills)`
`void` | `start(int delayMills)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DelayedOperation

    public DelayedOperation()

Method Detail

### start

    public final void start(int delayMills)

### loop

    public final void loop(int delayMills)

### doJob

    public abstract void doJob()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.