public interface GridLicenseProcessor extends GridProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
ackLicense()
Acks the license to the log.
|
void |
checkLicense()
This method is called periodically by the GridGain to check the license
conformance.
|
boolean |
enabled(GridProductEdition ed)
Checks if edition is enabled.
|
long |
gracePeriodLeft() |
GridProductLicense |
license()
Gets license descriptor.
|
void |
updateLicense(String licTxt)
Upload the new license into the current node.
|
addAttributescollectDiscoveryData, onDiscoveryDataReceived, onKernalStart, onKernalStop, printMemoryStats, start, stop, validateNodevoid updateLicense(String licTxt) throws GridProductLicenseException
licTxt - String - The string representation of the license file.GridProductLicenseException - - Throw the exception in the case of failed validation.void ackLicense()
void checkLicense()
throws GridProductLicenseException
GridProductLicenseException - Thrown in case of any license violation.boolean enabled(GridProductEdition ed)
ed - Edition to check.True if enabled.@Nullable GridProductLicense license()
null for open-source edition.long gracePeriodLeft()
-1 otherwise.Copyright © 2014. All rights reserved.