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 fileIOException
void delete(BlobKey key) throws IOException
key
- associated with the file to be deletedIOException
int getPort()
void shutdown()
BlobClient createClient() throws IOException
IOException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.