@Singleton public class SliceToNodeMetadata extends Object implements com.google.common.base.Function<Slice,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<Slice.Status,NodeState> |
sliceToNodeState |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Slice from) |
protected Hardware |
parseHardware(Slice from) |
protected OperatingSystem |
parseOperatingSystem(Slice from) |
protected final com.google.common.base.Supplier<Location> location
protected final Map<Slice.Status,NodeState> sliceToNodeState
protected Logger logger
public NodeMetadata apply(Slice from)
apply
in interface com.google.common.base.Function<Slice,NodeMetadata>
protected OperatingSystem parseOperatingSystem(Slice from)
Copyright © 2009-2012 jclouds. All Rights Reserved.