org.gcube.vremanagement.resourcebroker.impl.support.notifications
Class GHNUpdateSubscriber

java.lang.Object
  extended by BaseNotificationConsumer
      extended by org.gcube.vremanagement.resourcebroker.impl.support.notifications.GHNUpdateSubscriber

public class GHNUpdateSubscriber
extends BaseNotificationConsumer

Monitors changes applied to the GHNs. It is implemented through the subscription to events regarding GHN modifications. Starts once the GHNReservationHandler accesses to the list of GHN registered for a new scope. There is one handler for each scope of GHN.

Author:
Daniele Strollo (ISTI-CNR)

Constructor Summary
GHNUpdateSubscriber(GCUBEScope scope, long sleepDelay)
           
 
Method Summary
 GCUBEScope getScope()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHNUpdateSubscriber

public GHNUpdateSubscriber(GCUBEScope scope,
                           long sleepDelay)
Method Detail

getScope

public final GCUBEScope getScope()