@Singleton public class MapToDriveMetrics extends Object implements com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>>
Constructor and Description |
---|
MapToDriveMetrics() |
Modifier and Type | Method and 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) |
protected void addBlockDevices(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)
protected void addIDEDevices(Map<String,String> from, com.google.common.collect.ImmutableMap.Builder<String,DriveMetrics> devices)
protected DriveMetrics buildMetrics(String key, Map<String,String> from)
Copyright © 2009-2012 jclouds. All Rights Reserved.