@Singleton public class ServerToNodeMetadata extends Object implements com.google.common.base.Function<Server,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
hardwares |
protected com.google.common.base.Supplier<Set<? extends Image>> |
images |
protected com.google.common.base.Supplier<Location> |
location |
protected Logger |
logger |
protected Map<ServerStatus,NodeState> |
serverToNodeState |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Server from) |
protected Hardware |
parseHardware(Server from) |
protected OperatingSystem |
parseOperatingSystem(Server from) |
protected final com.google.common.base.Supplier<Location> location
protected final Map<ServerStatus,NodeState> serverToNodeState
public NodeMetadata apply(Server from)
apply
in interface com.google.common.base.Function<Server,NodeMetadata>
protected OperatingSystem parseOperatingSystem(Server from)
Copyright © 2009-2012 jclouds. All Rights Reserved.