Class Manifest

All Implemented Interfaces:
ToXContent, ToXContentFragment

public class Manifest extends Object implements ToXContentFragment
This class represents the manifest file, which is the entry point for reading meta data from disk. Metadata consists of global metadata and index metadata. When new version of metadata is written it's assigned some generation long value. Global metadata generation could be obtained by calling getGlobalGeneration(). Index metadata generation could be obtained by calling getIndexGenerations().
  • Field Details

  • Constructor Details

    • Manifest

      public Manifest(long currentTerm, long clusterStateVersion, long globalGeneration, Map<Index,Long> indexGenerations)
  • Method Details