public interface VersionExtension
Allows plugging in current version elements.
- 
Method Summary
Modifier and TypeMethodDescriptiongetCurrentIndexVersion(IndexVersion fallback) Returns theIndexVersionthat Elasticsearch should use.getCurrentTransportVersion(TransportVersion fallback) Returns theTransportVersionthat Elasticsearch should use. 
- 
Method Details
- 
getCurrentTransportVersion
Returns theTransportVersionthat Elasticsearch should use.This must be at least as high as the given fallback.
- Parameters:
 fallback- The latest transport version from server
 - 
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
 
 -