public interface LicenceCheck
| Modifier and Type | Field and Description |
|---|---|
static String |
CHRONICLE_LICENSE |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(String product,
Class<?> caller)
Check for license expiry and log message with license and expiry details
|
boolean |
isAvailable() |
static boolean |
isJGuardProtected() |
void |
licenceCheck()
checks if the function you are about to call is part of an enterprise product, if the licence
fails a runtime exception will be thrown
|
static void |
licenceExpiry(String product,
Class<?> caller,
BiConsumer<Long,String> licenceExpiryDetails)
Provide licence expiry details
|
static final String CHRONICLE_LICENSE
static void check(String product, Class<?> caller)
product - productcaller - callerstatic boolean isJGuardProtected()
static void licenceExpiry(String product, Class<?> caller, BiConsumer<Long,String> licenceExpiryDetails)
product - productcaller - callerlicenceExpiryDetails - callback to call with license days to run and license ownervoid licenceCheck()
boolean isAvailable()
Copyright © 2024. All rights reserved.