|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CodDatabase
Base database interface for COD service managers and sites.
| Method Summary | |
|---|---|
void |
addHandlerInvocation(java.lang.String type,
Node node,
java.util.Properties p)
Adds a handler invocation record |
void |
addNode(Node node)
Adds a database record for the specified node. |
java.util.Vector<java.util.Properties> |
getInventoryNodes(int type,
int state)
Retrieves all nodes from all inventory slices that are from the specified type and are in the specified state. |
java.util.Vector<java.util.Properties> |
getNode(NodeID nodeID)
Retrieves the specified node record. |
java.util.Vector<java.util.Properties> |
getNodes(int type,
int state)
Retrieves all nodes from all slices that are from the specified type and are in the specified state. |
java.util.Vector<java.util.Properties> |
getNodes(NodeID[] ids)
Retrieves the specified nodes |
java.util.Vector<java.util.Properties> |
getNodes(ReservationID rid)
Retrieves all nodes for the specified reservation |
java.util.Vector<java.util.Properties> |
getNodes(ReservationID reservationID,
int state)
Retrieves all nodes for the reservation that are in the specified state. |
java.util.Vector<java.util.Properties> |
getNodes(SliceID sliceID)
Retrieves all nodes in the specified slice |
java.util.Vector<java.util.Properties> |
getNodes(SliceID sliceID,
int state)
Retrieves all nodes in the specified slice that are in the specified state |
void |
removeHandlerInvocation(java.lang.String type,
Node node,
java.util.Properties p)
Removes a handler invocation record |
void |
removeNode(NodeID nodeID)
Removes the database record for the specified node. |
void |
updateNode(Node node)
Updates the corresponding node record. |
| Methods inherited from interface orca.shirako.api.IInitialize |
|---|
initialize |
| Methods inherited from interface orca.shirako.api.ISerialize |
|---|
reset, save, save |
| Methods inherited from interface orca.shirako.api.IRecover |
|---|
revisit |
| Method Detail |
|---|
void addHandlerInvocation(java.lang.String type,
Node node,
java.util.Properties p)
throws java.lang.Exception
type - node - p -
java.lang.Exception
void removeHandlerInvocation(java.lang.String type,
Node node,
java.util.Properties p)
throws java.lang.Exception
type - node - p -
java.lang.Exception
void addNode(Node node)
throws java.lang.Exception
node - node object
java.lang.Exception
void removeNode(NodeID nodeID)
throws java.lang.Exception
nodeID - node identifier
java.lang.Exception
void updateNode(Node node)
throws java.lang.Exception
node - node object
java.lang.Exception
java.util.Vector<java.util.Properties> getNode(NodeID nodeID)
throws java.lang.Exception
nodeID - node identifier
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(ReservationID rid)
throws java.lang.Exception
rid - Reservation id
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(ReservationID reservationID,
int state)
throws java.lang.Exception
reservationID - Reservationstate - Node state
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(SliceID sliceID)
throws java.lang.Exception
sliceID -
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(SliceID sliceID,
int state)
throws java.lang.Exception
sliceID - sliceNamestate -
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(int type,
int state)
throws java.lang.Exception
type - typestate - state
java.lang.Exception
java.util.Vector<java.util.Properties> getInventoryNodes(int type,
int state)
throws java.lang.Exception
type - typestate - state
java.lang.Exception
java.util.Vector<java.util.Properties> getNodes(NodeID[] ids)
throws java.lang.Exception
ids - an array of node identifiers
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||