org.apache.whirr.util
Class Utils

java.lang.Object
  extended by org.apache.whirr.util.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static
<K,V> com.google.common.cache.LoadingCache<K,V>
convertMapToLoadingCache(Map<K,V> in)
          converts a map to a loading cache.
static void printSSHConnectionDetails(PrintStream out, ClusterSpec clusterSpec, Cluster cluster, int maxPrint)
          Prints ssh commands that can be used to login into the nodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

convertMapToLoadingCache

public static <K,V> com.google.common.cache.LoadingCache<K,V> convertMapToLoadingCache(Map<K,V> in)
converts a map to a loading cache.


printSSHConnectionDetails

public static void printSSHConnectionDetails(PrintStream out,
                                             ClusterSpec clusterSpec,
                                             Cluster cluster,
                                             int maxPrint)
Prints ssh commands that can be used to login into the nodes

Parameters:
out -
clusterSpec -
cluster -


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.