All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.elasticsearch.license.LicenseStateListener Maven / Gradle / Ivy

/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

package org.elasticsearch.license;

import org.elasticsearch.Version;

/**
 * Marker interface for callbacks that are invoked when the license state changes.
 */
@FunctionalInterface
public interface LicenseStateListener {

    /**
     * Callback when the license state changes. See {@link XPackLicenseState#update(License.OperationMode, boolean, long, Version)}.
     */
    void licenseStateChanged();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy