org.elasticsearch.gateway
Interface Gateway

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

public interface Gateway
extends LifecycleComponent<Gateway>


Nested Class Summary
static interface Gateway.GatewayStateRecoveredListener
           
 
Method Summary
 void performStateRecovery(Gateway.GatewayStateRecoveredListener listener)
           
 void reset()
           
 Class<? extends Module> suggestIndexGateway()
           
 String 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
 

Method Detail

type

String type()

performStateRecovery

void performStateRecovery(Gateway.GatewayStateRecoveredListener listener)
                          throws GatewayException
Throws:
GatewayException

suggestIndexGateway

Class<? extends Module> suggestIndexGateway()

reset

void reset()
           throws Exception
Throws:
Exception


Copyright © 2009-2012. All Rights Reserved.