public interface VersionExtension
Allows plugging in current version elements.
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentIndexVersion(IndexVersion fallback) Returns theIndexVersionthat Elasticsearch should use.Returns additionalTransportVersiondefined by extension
-
Method Details
-
getTransportVersions
Collection<TransportVersion> getTransportVersions()Returns additionalTransportVersiondefined by extension -
getCurrentIndexVersion
Returns theIndexVersionthat Elasticsearch should use.This must be at least as high as the given fallback.
- Parameters:
fallback- The latest index version from server
-