Class LicensedFeature.Momentary

java.lang.Object
org.elasticsearch.license.LicensedFeature
org.elasticsearch.license.LicensedFeature.Momentary
Enclosing class:
LicensedFeature

public static class LicensedFeature.Momentary extends LicensedFeature
A Momentary feature is one that is tracked at the moment the license is checked.
  • Method Details

    • check

      public boolean check(XPackLicenseState state)
      Checks whether the feature is allowed by the given license state, and updates the last time the feature was used.