public interface VersionExtension
Allows plugging in current version elements.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theIndexVersion
that Elasticsearch should use.Returns theTransportVersion
that Elasticsearch should use.static VersionExtension
load()
Loads a single VersionExtension, or returnsnull
if none are found.
-
Method Details
-
getCurrentTransportVersion
TransportVersion getCurrentTransportVersion()Returns theTransportVersion
that Elasticsearch should use.This must be at least equal to the latest version found in
TransportVersion
V_* constants. -
getCurrentIndexVersion
IndexVersion getCurrentIndexVersion()Returns theIndexVersion
that Elasticsearch should use.This must be at least equal to the latest version found in
IndexVersion
V_* constants. -
load
Loads a single VersionExtension, or returnsnull
if none are found.
-