java.lang.Object
org.elasticsearch.license.LicensedFeature
org.elasticsearch.license.LicensedFeature.Momentary
- Enclosing class:
LicensedFeature
A Momentary feature is one that is tracked at the moment the license is checked.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.license.LicensedFeature
LicensedFeature.Momentary, LicensedFeature.Persistent -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(XPackLicenseState state) Checks whether the feature is allowed by the given license state, and updates the last time the feature was used.Methods inherited from class org.elasticsearch.license.LicensedFeature
checkWithoutTracking, equals, getFamily, getMinimumOperationMode, getName, hashCode, isNeedsActive, momentary, momentaryLenient, persistent
-
Method Details
-
check
Checks whether the feature is allowed by the given license state, and updates the last time the feature was used.
-