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 voidaddBlockDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)protected voidaddIDEDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)protected voidaddSCSIDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)Map<String,? extends DriveMetrics>apply(Map<String,String> from)protected DriveMetricsbuildMetrics(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)
 
 - 
 
 -