org.jclouds.elasticstack.functions
Class MapToServerMetrics

java.lang.Object
  extended by org.jclouds.elasticstack.functions.MapToServerMetrics
All Implemented Interfaces:
com.google.common.base.Function<Map<String,String>,ServerMetrics>

@Singleton
public class MapToServerMetrics
extends Object
implements com.google.common.base.Function<Map<String,String>,ServerMetrics>

Author:
Adrian Cole

Constructor Summary
MapToServerMetrics(com.google.common.base.Function<Map<String,String>,Map<String,? extends DriveMetrics>> mapToDriveMetrics)
           
 
Method Summary
 ServerMetrics apply(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 Detail

MapToServerMetrics

@Inject
public 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 interface com.google.common.base.Function<Map<String,String>,ServerMetrics>


Copyright © 2009-2012 jclouds. All Rights Reserved.