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>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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> protected DriveMetrics
buildMetrics
(String key, Map<String, String> from) 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
-
Constructor Details
-
MapToDriveMetrics
public MapToDriveMetrics()
-
-
Method Details
-
apply
-
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
-