org.apache.whirr.util
Class Utils
java.lang.Object
org.apache.whirr.util.Utils
public class Utils
- extends Object
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
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-2012 The Apache Software Foundation. All Rights Reserved.