org.jclouds.elasticstack.functions
Class MapToServerMetrics
java.lang.Object
org.jclouds.elasticstack.functions.MapToServerMetrics
- All Implemented Interfaces:
- com.google.common.base.Function<Map<String,String>,ServerMetrics>
@Singleton
public class MapToServerMetrics
- extends Object
- implements com.google.common.base.Function<Map<String,String>,ServerMetrics>
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
MapToServerMetrics
@Inject
public MapToServerMetrics(com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>> mapToDriveMetrics)
apply
public ServerMetrics apply(Map<String,String> from)
- Specified by:
apply
in interface com.google.common.base.Function<Map<String,String>,ServerMetrics>
Copyright © 2009-2011 jclouds. All Rights Reserved.