public interface BlobService
| Modifier and Type | Method and Description |
|---|---|
BlobClient |
createClient() |
void |
delete(BlobKey key)
This method deletes the file associated with the provided blob key.
|
int |
getPort()
Returns the port of the blob service.
|
URL |
getURL(BlobKey key)
This method returns the URL of the file associated with the provided blob key.
|
void |
shutdown()
Shutdown method which is called to terminate the blob service.
|
URL getURL(BlobKey key) throws IOException
key - blob key associated with the requested fileIOExceptionvoid delete(BlobKey key) throws IOException
key - associated with the file to be deletedIOExceptionint getPort()
void shutdown()
BlobClient createClient() throws IOException
IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.