|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.vremanagement.resourcebroker.impl.services.ISClientRequester
public class ISClientRequester
Consists of a proxy between the BrokerService
and the gCube
Information System.
Holds the persistent stand-alone resource where stores the status
of monitored gCube Resources.
After a delay the information about the monitored resources is refreshed
by TUpdateGHNProfiles
thread.
Constructor Summary | |
---|---|
ISClientRequester()
|
Method Summary | |
---|---|
static Tuple<java.lang.String> |
getRIAndGHN(GCUBEScope queryScope,
java.lang.String riID)
Given an RI identifier and the scope in which it shoud be retrieved, the IS is queried about the corresponding GHN on which the RI is actually running. |
static GHNDescriptor |
getRIOnGHNByID(GCUBEScope queryScope,
java.lang.String ghnID)
Returns the GHNDescriptor for a given GHN_ID in a given scope. |
static java.util.List<GHNDescriptor> |
getRIOnGHNs(GCUBEScope queryScope)
Returns the list of GHNDescriptor declared in this scope. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISClientRequester()
Method Detail |
---|
public static final java.util.List<GHNDescriptor> getRIOnGHNs(GCUBEScope queryScope) throws java.lang.Exception
GHNDescriptor
declared in this scope.
queryScope
- the scope in which the query must be executed.
GHNDescriptor
elems.
java.lang.Exception
- if something goes wrong.public static final Tuple<java.lang.String> getRIAndGHN(GCUBEScope queryScope, java.lang.String riID) throws java.lang.Exception
Given an RI identifier and the scope in which it shoud be retrieved, the IS is queried about the corresponding GHN on which the RI is actually running.
Returns a Tuple
of two elements RI_ID and GHN_ID.
>
queryScope
- the scope of RIriID
- the unique ID of the RunningInstance
java.lang.Exception
- if IS query failspublic static final GHNDescriptor getRIOnGHNByID(GCUBEScope queryScope, java.lang.String ghnID) throws java.lang.Exception
GHNDescriptor
for a given GHN_ID in a given scope.
queryScope
- the scope in which the query must be executed.ghnID
- the ghn identifier to lookup.
java.lang.Exception
- if something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |