Class MapToDriveMetrics
- java.lang.Object
-
- org.jclouds.elasticstack.functions.MapToDriveMetrics
-
- All Implemented Interfaces:
com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>>
,Function<Map<String,String>,Map<String,? extends DriveMetrics>>
@Singleton public class MapToDriveMetrics extends Object implements com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>>
-
-
Constructor Summary
Constructors Constructor Description MapToDriveMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addBlockDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
protected void
addIDEDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
protected void
addSCSIDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
Map<String,? extends DriveMetrics>
apply(Map<String,String> from)
protected DriveMetrics
buildMetrics(String key, Map<String,String> from)
-
-
-
Method Detail
-
addBlockDevices
protected void addBlockDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
-
addSCSIDevices
protected void addSCSIDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
-
addIDEDevices
protected void addIDEDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
-
buildMetrics
protected DriveMetrics buildMetrics(String key, Map<String,String> from)
-
-