Package org.elasticsearch.gateway
Interface GatewayMetaState.IndexMetaDataAction
-
- All Known Implementing Classes:
GatewayMetaState.KeepPreviousGeneration
,GatewayMetaState.WriteChangedIndexMetaData
,GatewayMetaState.WriteNewIndexMetaData
- Enclosing class:
- GatewayMetaState
public static interface GatewayMetaState.IndexMetaDataAction
Action to perform with index metadata.
-
-
Method Detail
-
getIndex
Index getIndex()
- Returns:
- index for index metadata.
-
execute
long execute(org.elasticsearch.gateway.GatewayMetaState.AtomicClusterStateWriter writer) throws WriteStateException
Executes this action using providedGatewayMetaState.AtomicClusterStateWriter
.- Returns:
- new index metadata state generation, to be used in manifest file.
- Throws:
WriteStateException
- if exception occurs.
-
-