org.elasticsearch.gateway
Interface Gateway

All Superinterfaces:
CloseableComponent, LifecycleComponent<Gateway>
All Known Implementing Classes:
FsGateway, NoneGateway

public interface Gateway
extends LifecycleComponent<Gateway>


Method Summary
 MetaData read()
           
 void reset()
           
 java.lang.Class<? extends Module> suggestIndexGateway()
           
 void write(MetaData metaData)
           
 
Methods inherited from interface org.elasticsearch.util.component.LifecycleComponent
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
 
Methods inherited from interface org.elasticsearch.util.component.CloseableComponent
close
 

Method Detail

write

void write(MetaData metaData)
           throws GatewayException
Throws:
GatewayException

read

MetaData read()
              throws GatewayException
Throws:
GatewayException

suggestIndexGateway

java.lang.Class<? extends Module> suggestIndexGateway()

reset

void reset()