@Singleton public class ServerToNodeMetadata extends Object implements com.google.common.base.Function<Server,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
static Map<Server.Status,NodeMetadata.Status> |
serverStatusToNodeStatus |
public static final Map<Server.Status,NodeMetadata.Status> serverStatusToNodeStatus
public NodeMetadata apply(Server from)
apply
in interface com.google.common.base.Function<Server,NodeMetadata>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.