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 Summary
Modifier and TypeMethodDescriptiondefault Map<License.DeploymentScope, String> Get all licenses with their corresponding type Simple stores should return an empty map.default voidregisterLicense(License.DeploymentScope key, String license) voidregisterLicense(String license) voidstart()voidstop()
-
Method Details
-
start
void start() -
stop
void stop() -
licenseScan
String licenseScan() -
registerLicense
-
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
-