|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.ce.monitorapij.resource.ResourceEvent
This class represents an event regarding a particular set of resources. This event informs the CEMonitor that a set of resources has been added, removed or updated.
Field Summary | |
static int |
RESOURCE_ADDED
|
static int |
RESOURCE_REMOVED
|
static int |
RESOURCE_UPDATED
|
Constructor Summary | |
ResourceEvent(ResourceHolder holder,
int eventID,
Resource[] resources)
Creates a new ResourceEvent object. |
Method Summary | |
int |
getEvent()
Get the identifier of the type of this event. |
ResourceHolder |
getResourceHolder()
Get the ResourceHolder holding the Resources which produced this event. |
Resource[] |
getResources()
Get an array of the Resource s which produced this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RESOURCE_ADDED
public static final int RESOURCE_REMOVED
public static final int RESOURCE_UPDATED
Constructor Detail |
public ResourceEvent(ResourceHolder holder, int eventID, Resource[] resources)
holder
- The ResourceHolder
holding the resourceseventID
- The int representing the event type identifier.resources
- An array of the Resource
s which produced this event.Method Detail |
public ResourceHolder getResourceHolder()
ResourceHolder
holding the Resources which produced this event.
ResourceHolder
of this event.public Resource[] getResources()
Resource
s which produced this event.
Resource
s which produced this event.public int getEvent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |