Package org.elasticsearch.license


package org.elasticsearch.license
Licensing for xpack. A License is a signed set of json properties that determine what features are available in a running cluster. Licenses are registered through a PutLicenseRequest. This action is handled by the master node, which places the signed license into the cluster state. Each node listens for cluster state updates via the ClusterStateLicenseService, and updates its local copy of the license when it detects changes in the cluster state. The logic for which features are available given the current license is handled by XPackLicenseState, which is updated by the ClusterStateLicenseService when the license changes.