Interface VersionExtension


public interface VersionExtension
Allows plugging in current version elements.
  • Method Details

    • getCurrentTransportVersion

      TransportVersion getCurrentTransportVersion()
      Returns the TransportVersion that Elasticsearch should use.

      This must be at least equal to the latest version found in TransportVersion V_* constants.

    • getCurrentIndexVersion

      IndexVersion getCurrentIndexVersion()
      Returns the IndexVersion that Elasticsearch should use.

      This must be at least equal to the latest version found in IndexVersion V_* constants.

    • load

      static VersionExtension load()
      Loads a single VersionExtension, or returns null if none are found.