Interface GatewayMetaState.IndexMetaDataAction

    • Method Summary

      Modifier and Type Method Description
      long execute​(org.elasticsearch.gateway.GatewayMetaState.AtomicClusterStateWriter writer)
      Executes this action using provided GatewayMetaState.AtomicClusterStateWriter.
      Index getIndex()  
    • 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 provided GatewayMetaState.AtomicClusterStateWriter.
        Returns:
        new index metadata state generation, to be used in manifest file.
        Throws:
        WriteStateException - if exception occurs.