DelayedOperation (Resource Management Library 2.6.0-3.10.0 API)
Date: 2016-02-09

org.gcube.resourcemanagement.support.shared.util

## 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 and Description
    `DelayedOperation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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()

Copyright © 2016. All Rights Reserved.