org.elasticsearch.index.gateway.blobstore
Class BlobStoreIndexGateway
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexGateway
- All Implemented Interfaces:
- CloseableIndexComponent, IndexGateway, IndexComponent
- Direct Known Subclasses:
- FsIndexGateway
public abstract class BlobStoreIndexGateway
- extends AbstractIndexComponent
- implements IndexGateway
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
chunkSize
protected ByteSizeValue chunkSize
BlobStoreIndexGateway
protected BlobStoreIndexGateway(Index index,
@IndexSettings
Settings indexSettings,
Gateway gateway)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
blobStore
public BlobStore blobStore()
chunkSize
public ByteSizeValue chunkSize()
shardPath
public BlobPath shardPath(int shardId)
shardPath
public static BlobPath shardPath(BlobPath basePath,
java.lang.String index,
int shardId)
close
public void close(boolean delete)
throws ElasticSearchException
- Description copied from interface:
CloseableIndexComponent
- Closes the index component. A boolean indicating if its part of an actual index
deletion or not is passed.
- Specified by:
close
in interface CloseableIndexComponent
- Parameters:
delete
- true if the index is being deleted.
- Throws:
ElasticSearchException