Class PersistedClusterStateService.Writer

org.elasticsearch.gateway.PersistedClusterStateService.Writer
All Implemented Interfaces:
,
Enclosing class:
PersistedClusterStateService

public static class PersistedClusterStateService.Writer extends implements
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    void
    writeFullStateAndCommit​(long currentTerm, ClusterState clusterState)
    Overrides and commits the given current term and cluster state
    void
    writeIncrementalTermUpdateAndCommit​(long currentTerm, long lastAcceptedVersion)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Method Details

    • isOpen

      public boolean isOpen()
    • writeFullStateAndCommit

      public void writeFullStateAndCommit(long currentTerm, ClusterState clusterState) throws
      Overrides and commits the given current term and cluster state
      Throws:
    • writeIncrementalTermUpdateAndCommit

      public void writeIncrementalTermUpdateAndCommit(long currentTerm, long lastAcceptedVersion) throws
      Throws:
    • close

      public void close() throws
      Specified by:
       in interface 
      Specified by:
       in interface 
      Throws: