Interface LicenseService

All Superinterfaces:
AutoCloseable, Closeable, LifecycleComponent, org.elasticsearch.core.Releasable
All Known Subinterfaces:
MutableLicenseService
All Known Implementing Classes:
ClusterStateLicenseService

public interface LicenseService extends LifecycleComponent
Interface to read the current license. Consumers should generally not need to read the license directly and should instead prefer XPackLicenseState and/or LicensedFeature to make license decisions. This interface is not intended to be implemented by alternative implementations and exists for internal use only.