|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface IPluginPersistenceService
The data persistence service is provided to ease the storage of Moab state data such as nodes, jobs, and virtual machines. Objects passed to the service are saved to the Moab Web Services database. It also handles data collisions as explained in the MWS documentation.
Method Summary | |
---|---|
boolean
|
removeJobs(List jobs)
Removes jobs from the cache. |
boolean
|
removeNodes(List nodes)
Removes nodes from the cache. |
boolean
|
removeVirtualMachines(List virtualMachines)
Removes virtual machines from the cache. |
boolean
|
updateJobs(List jobs)
Adds or updates jobs in the cache. |
boolean
|
updateNodes(List nodes)
Adds or updates nodes in the cache. |
boolean
|
updateVirtualMachines(List virtualMachines)
Adds or updates virtual machines in the cache. |
Method Detail |
---|
public boolean removeJobs(List jobs)
jobs
- Job objects
public boolean removeNodes(List nodes)
nodes
- Node objects
public boolean removeVirtualMachines(List virtualMachines)
virtualMachines
- Virtual machine objects
public boolean updateJobs(List jobs)
jobs
- Job objects
public boolean updateNodes(List nodes)
nodes
- Node objects
public boolean updateVirtualMachines(List virtualMachines)
virtualMachines
- Virtual machine objects
Groovy Documentation