|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.component.AbstractComponent org.elasticsearch.common.component.AbstractLifecycleComponent<Gateway> org.elasticsearch.gateway.shared.SharedStorageGateway org.elasticsearch.gateway.blobstore.BlobStoreGateway
public abstract class BlobStoreGateway
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.gateway.Gateway |
---|
Gateway.GatewayStateRecoveredListener |
Field Summary |
---|
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
---|
lifecycle |
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
protected |
BlobStoreGateway(Settings settings,
ThreadPool threadPool,
ClusterService clusterService)
|
Method Summary | |
---|---|
BlobPath |
basePath()
|
BlobStore |
blobStore()
|
ByteSizeValue |
chunkSize()
|
protected void |
delete(IndexMetaData indexMetaData)
|
CommitPoint |
findCommitPoint(String index,
int shardId)
|
protected void |
initialize(BlobStore blobStore,
ClusterName clusterName,
ByteSizeValue defaultChunkSize)
|
MetaData |
read()
|
void |
reset()
|
String |
toString()
|
void |
write(MetaData metaData)
|
Methods inherited from class org.elasticsearch.gateway.shared.SharedStorageGateway |
---|
clusterChanged, doClose, doStart, doStop, performStateRecovery, setNodeEnv |
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
---|
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.elasticsearch.gateway.Gateway |
---|
suggestIndexGateway, type |
Methods inherited from interface org.elasticsearch.common.component.LifecycleComponent |
---|
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent |
---|
close |
Constructor Detail |
---|
protected BlobStoreGateway(Settings settings, ThreadPool threadPool, ClusterService clusterService)
Method Detail |
---|
protected void initialize(BlobStore blobStore, ClusterName clusterName, @Nullable ByteSizeValue defaultChunkSize) throws IOException
IOException
public String toString()
toString
in class Object
public BlobStore blobStore()
public BlobPath basePath()
public ByteSizeValue chunkSize()
public void reset() throws Exception
Exception
public MetaData read() throws GatewayException
read
in class SharedStorageGateway
GatewayException
public CommitPoint findCommitPoint(String index, int shardId) throws IOException
IOException
protected void delete(IndexMetaData indexMetaData) throws ElasticSearchException
delete
in class SharedStorageGateway
ElasticSearchException
public void write(MetaData metaData) throws GatewayException
write
in class SharedStorageGateway
GatewayException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |