org.gcube.vremanagement.resourcebroker.impl.support.threads
Class TRevokeReservations

java.lang.Object
  extended by java.lang.Thread
      extended by org.gcube.vremanagement.resourcebroker.impl.support.threads.TimedThread
          extended by org.gcube.vremanagement.resourcebroker.impl.support.threads.TRevokeReservations
All Implemented Interfaces:
java.lang.Runnable

public class TRevokeReservations
extends TimedThread

A thread that is demanded to remove from the list of reserved GHNs the ones for which the time has expired. It is activated periodically depending on the delay time defined at construction phase.

Author:
Daniele Strollo (ISTI-CNR)

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TRevokeReservations(long delay)
           
 
Method Summary
 void loop()
          The main loop that must be defined.
 
Methods inherited from class org.gcube.vremanagement.resourcebroker.impl.support.threads.TimedThread
interrupt, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TRevokeReservations

public TRevokeReservations(long delay)
Method Detail

loop

public final void loop()
Description copied from class: TimedThread
The main loop that must be defined.

Specified by:
loop in class TimedThread