|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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()
|
CommitPoint |
findCommitPoint(java.lang.String index,
int shardId)
|
protected void |
initialize(BlobStore blobStore,
ClusterName clusterName,
ByteSizeValue defaultChunkSize)
|
MetaData |
read()
|
void |
reset()
|
java.lang.String |
toString()
|
void |
write(MetaData metaData)
|
Methods inherited from class org.elasticsearch.gateway.shared.SharedStorageGateway |
---|
clusterChanged, doClose, doStart, doStop, performStateRecovery |
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 java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public BlobStore blobStore()
public BlobPath basePath()
public ByteSizeValue chunkSize()
public void reset() throws java.lang.Exception
java.lang.Exception
public MetaData read() throws GatewayException
read
in class SharedStorageGateway
GatewayException
public CommitPoint findCommitPoint(java.lang.String index, int shardId) throws java.io.IOException
java.io.IOException
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 |