|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.info.InstanceBase
org.edg.info.DeclarableInstance
Supports "Declarable" behaviour: declaring and registering tables.
Field Summary |
Fields inherited from class org.edg.info.InstanceBase |
DEFAULT_TERMINATION_INTERVAL_MS, s_maxTerminationInterval, s_minTerminationInterval |
Method Summary | |
void |
declareTable(java.lang.String tableName,
java.lang.String predicate)
Declares the table in the Schema. |
void |
destroy()
|
java.lang.String |
getClientHostName()
|
org.glite.rgma.system.ProducerType |
getProducerType()
|
void |
setClientHostName(java.lang.String hostName)
Sets the hostname of the client (that contacted the resource). |
void |
undeclareTable(java.lang.String tableName)
Contacts registry to undeclare given table. |
boolean |
updateRegistry(long currentTime,
boolean isRegistryDown)
Attempts to update the termination interval for a producer resource. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void destroy()
public void declareTable(java.lang.String tableName, java.lang.String predicate) throws org.glite.rgma.system.RGMAUserException, org.glite.rgma.system.RGMAInternalException
tableName
- the table name to be declared.predicate
- the predicate to be used.
org.glite.rgma.system.RGMAException
- If unable to declare the table.
org.glite.rgma.system.RGMAUserException
org.glite.rgma.system.RGMAInternalException
public void undeclareTable(java.lang.String tableName) throws org.glite.rgma.system.RGMAException
tableName
- Name of table to undeclare
org.glite.rgma.system.RGMAException
public boolean updateRegistry(long currentTime, boolean isRegistryDown) throws org.glite.rgma.system.RGMAException, org.glite.rgma.system.RemoteException
updateRegistry
in class InstanceBase
currentTime
- Current time in millis.isRegistryDown
- Flag indicating if the Registry was down on the last call.
org.glite.rgma.system.RemoteException
org.glite.rgma.system.RGMAException
public org.glite.rgma.system.ProducerType getProducerType()
public void setClientHostName(java.lang.String hostName)
public java.lang.String getClientHostName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |