Class MapToServerMetrics
- java.lang.Object
-
- org.jclouds.elasticstack.functions.MapToServerMetrics
-
- All Implemented Interfaces:
com.google.common.base.Function<Map<String,String>,ServerMetrics>
,Function<Map<String,String>,ServerMetrics>
@Singleton public class MapToServerMetrics extends Object implements com.google.common.base.Function<Map<String,String>,ServerMetrics>
-
-
Constructor Summary
Constructors Constructor Description MapToServerMetrics(com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>> mapToDriveMetrics)
-
-
-
Method Detail
-
apply
public ServerMetrics apply(Map<String,String> from)
- Specified by:
apply
in interfacecom.google.common.base.Function<Map<String,String>,ServerMetrics>
- Specified by:
apply
in interfaceFunction<Map<String,String>,ServerMetrics>
-
-