|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorityCodDatabase
Database interface for a COD site.
| Method Summary | |
|---|---|
void |
addMachine(Machine machine)
Adds a new machine record |
java.util.Vector<java.util.Properties> |
getClientNodes(int type,
int state)
Retrieves all nodes from all client slices that are in the specified state and are from the given type. |
java.util.Vector<java.util.Properties> |
getHostedNodes(java.lang.String machineName)
Returns a list of nodes hosted on the specified machine |
java.util.Vector<java.util.Properties> |
getMachine(NodeID id)
Retrieves the specified machine record using the node identifier. |
java.util.Vector<java.util.Properties> |
getMachine(java.lang.String name)
Retrieves the specified machine record |
java.util.Vector<java.util.Properties> |
getMachines()
Retrieves all machine records (that belong to this site) |
java.util.Vector<java.util.Properties> |
getStorageServer(java.lang.String name)
Retrieves the specified storage server record |
java.util.Vector<java.util.Properties> |
getStorageServers()
Retrieves all storage server records |
void |
removeMachine(java.lang.String name)
Removes the specified machine record |
void |
updateMachine(Machine machine)
Updates the specified machine record |
| Methods inherited from interface orca.cod.plugins.db.CodDatabase |
|---|
addHandlerInvocation, addNode, getInventoryNodes, getNode, getNodes, getNodes, getNodes, getNodes, getNodes, getNodes, removeHandlerInvocation, removeNode, updateNode |
| 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 addMachine(Machine machine)
throws java.lang.Exception
machine -
java.lang.Exception
void updateMachine(Machine machine)
throws java.lang.Exception
machine -
java.lang.Exception
void removeMachine(java.lang.String name)
throws java.lang.Exception
name -
java.lang.Exception
java.util.Vector<java.util.Properties> getMachines()
throws java.lang.Exception
java.lang.Exception
java.util.Vector<java.util.Properties> getMachine(java.lang.String name)
throws java.lang.Exception
name -
java.lang.Exception
java.util.Vector<java.util.Properties> getMachine(NodeID id)
throws java.lang.Exception
id - node identifier
java.lang.Exception
java.util.Vector<java.util.Properties> getHostedNodes(java.lang.String machineName)
throws java.lang.Exception
machineName - machine name
java.lang.Exception
java.util.Vector<java.util.Properties> getClientNodes(int type,
int state)
throws java.lang.Exception
type - typestate - state
java.lang.Exception
java.util.Vector<java.util.Properties> getStorageServers()
throws java.lang.Exception
java.lang.Exception
java.util.Vector<java.util.Properties> getStorageServer(java.lang.String name)
throws java.lang.Exception
name - Server name
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||