org.elasticsearch.index.gateway.cloud
Class CloudIndexGateway
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.gateway.cloud.CloudIndexGateway
- All Implemented Interfaces:
- org.elasticsearch.index.gateway.IndexGateway, org.elasticsearch.index.IndexComponent, org.elasticsearch.util.component.CloseableIndexComponent
public class CloudIndexGateway
- extends org.elasticsearch.index.AbstractIndexComponent
- implements org.elasticsearch.index.gateway.IndexGateway
| Fields inherited from class org.elasticsearch.index.AbstractIndexComponent |
componentSettings, index, indexSettings, logger |
|
Constructor Summary |
CloudIndexGateway(org.elasticsearch.index.Index index,
org.elasticsearch.util.settings.Settings indexSettings,
CloudBlobStoreService blobStoreService,
org.elasticsearch.gateway.Gateway gateway)
|
| Methods inherited from class org.elasticsearch.index.AbstractIndexComponent |
index, nodeName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.elasticsearch.index.IndexComponent |
index |
CloudIndexGateway
@Inject
public CloudIndexGateway(org.elasticsearch.index.Index index,
@IndexSettings
org.elasticsearch.util.settings.Settings indexSettings,
CloudBlobStoreService blobStoreService,
org.elasticsearch.gateway.Gateway gateway)
indexLocation
public org.jclouds.domain.Location indexLocation()
indexContainer
public java.lang.String indexContainer()
chunkSize
public org.elasticsearch.util.SizeValue chunkSize()
shardGatewayClass
public java.lang.Class<? extends org.elasticsearch.index.gateway.IndexShardGateway> shardGatewayClass()
- Specified by:
shardGatewayClass in interface org.elasticsearch.index.gateway.IndexGateway
close
public void close(boolean delete)
throws org.elasticsearch.ElasticSearchException
- Specified by:
close in interface org.elasticsearch.util.component.CloseableIndexComponent
- Throws:
org.elasticsearch.ElasticSearchException