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