public interface NodeMetadataStore
NodeMetadata mappings.| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllMappings()
Clears all mappings.
|
void |
deleteMapping(String backendNodeId)
Removes the mapping from storage.
|
NodeMetadata |
load(NodeMetadata backendNode)
Loads the previously stored user
NodeMetadata corresponding to the provided backend
NodeMetadata. |
Set<NodeMetadata> |
loadAll(Set<NodeMetadata> backendNodes)
Loads frontend
NodeMetadata for all provided backend nodes. |
NodeMetadata |
store(NodeMetadata backendNode,
TemplateOptions userOptions,
String userGroup)
Associates the provided user options and group with the provided backend
NodeMetadata,
then build a frontend version of node metadata that has some fields from the backend node such
as id, name or location, and some fields from the provided userOptions, such as userMetadata
or tags. |
NodeMetadata store(NodeMetadata backendNode, TemplateOptions userOptions, String userGroup)
NodeMetadata,
then build a frontend version of node metadata that has some fields from the backend node such
as id, name or location, and some fields from the provided userOptions, such as userMetadata
or tags.backendNode - the backend node's NodeMetadatauserOptions - the user provided optionsuserGroup - the user selected groupvoid deleteMapping(String backendNodeId)
backendNodeId - void deleteAllMappings()
NodeMetadata load(NodeMetadata backendNode)
NodeMetadata corresponding to the provided backend
NodeMetadata.backendNode - NodeMetadata or null of this backend node has no mappingSet<NodeMetadata> loadAll(Set<NodeMetadata> backendNodes)
NodeMetadata for all provided backend nodes.backendNodes - Copyright © 2009-2013 jclouds. All Rights Reserved.