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 File path
AbstractFsBlobContainer
public AbstractFsBlobContainer(FsBlobStore blobStore,
BlobPath blobPath,
File path)
filePath
public File filePath()
listBlobs
public com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobs()
throws IOException
- Throws:
IOException
deleteBlob
public boolean deleteBlob(String blobName)
throws IOException
- Throws:
IOException
blobExists
public boolean blobExists(String blobName)
readBlob
public void readBlob(String blobName,
BlobContainer.ReadBlobListener listener)
Copyright © 2009-2012. All Rights Reserved.