org.apache.whirr.util
Class BlobCache
java.lang.Object
org.apache.whirr.util.BlobCache
public class BlobCache
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BlobCache getInstance(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
ClusterSpec spec)
throws IOException
- Throws:
IOException
dropAndCloseAll
public static void dropAndCloseAll()
getLocation
public org.jclouds.domain.Location getLocation()
putIfAbsent
public void putIfAbsent(String localUri)
throws URISyntaxException,
IOException
- Throws:
URISyntaxException
IOException
putIfAbsent
public void putIfAbsent(URI uri)
throws IOException
- Throws:
IOException
putIfAbsent
public void putIfAbsent(File file)
throws FileNotFoundException
- Throws:
FileNotFoundException
getAsSaveToStatement
public org.jclouds.scriptbuilder.domain.Statement getAsSaveToStatement(String target,
String name)
throws IOException
- Throws:
IOException
getAsSaveToStatement
public org.jclouds.scriptbuilder.domain.Statement getAsSaveToStatement(String target,
URI uri)
throws IOException
- Throws:
IOException
getSignedRequest
public org.jclouds.http.HttpRequest getSignedRequest(String blobName)
throws IOException
- Throws:
IOException
getContainer
public String getContainer()
dropAndClose
public void dropAndClose()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.