org.elasticsearch.common.blobstore.fs
Class AbstractFsBlobContainer
java.lang.Object
org.elasticsearch.common.blobstore.support.AbstractBlobContainer
org.elasticsearch.common.blobstore.fs.AbstractFsBlobContainer
- All Implemented Interfaces:
- BlobContainer
- Direct Known Subclasses:
- FsImmutableBlobContainer
public abstract class AbstractFsBlobContainer
- extends AbstractBlobContainer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blobStore
protected final FsBlobStore blobStore
path
protected final java.io.File path
AbstractFsBlobContainer
public AbstractFsBlobContainer(FsBlobStore blobStore,
BlobPath blobPath,
java.io.File path)
filePath
public java.io.File filePath()
listBlobs
public org.elasticsearch.common.collect.ImmutableMap<java.lang.String,BlobMetaData> listBlobs()
throws java.io.IOException
- Throws:
java.io.IOException
deleteBlob
public boolean deleteBlob(java.lang.String blobName)
throws java.io.IOException
- Throws:
java.io.IOException
blobExists
public boolean blobExists(java.lang.String blobName)
readBlob
public void readBlob(java.lang.String blobName,
BlobContainer.ReadBlobListener listener)