Interface ConfluentLicenseStore

All Known Implementing Classes:
InMemoryLicenseStore, LicenseStore

public interface ConfluentLicenseStore
Interface for Confluent license storage implementations.

This interface supports both simple and advanced license storage:

  • Simple stores (like InMemoryLicenseStore): Single license storage using basic methods
  • Advanced stores (like LicenseStore): Multi-license storage with CommandKey structure

The interface provides default implementations for advanced features that delegate to basic methods, ensuring backward compatibility while enabling rich functionality for stores that support it.

  • Method Details

    • start

      void start()
    • stop

      void stop()
    • licenseScan

      String licenseScan()
    • registerLicense

      void registerLicense(String license)
    • getLatestLicenses

      default Map<License.DeploymentScope,String> getLatestLicenses()
      Get all licenses with their corresponding type Simple stores should return an empty map.
      Returns:
      Map of DeploymentScope to license string for advanced stores, empty map for simple stores
    • registerLicense

      default void registerLicense(License.DeploymentScope key, String license)