public class LicenseExpirationReminderTask extends Object implements Runnable
Note. This task is not to be started in NLC mode. See EnterpriseNodeExtension.
| Modifier and Type | Method and Description |
|---|---|
LicenseExpirationReminderTask |
rescheduleWithNewLicense(com.hazelcast.license.domain.License license)
Cancels the execution of the current task (if any) and schedules a new task using the provided
license. |
void |
run() |
static LicenseExpirationReminderTask |
scheduleWith(com.hazelcast.spi.TaskScheduler scheduler,
com.hazelcast.license.domain.License license) |
public static LicenseExpirationReminderTask scheduleWith(com.hazelcast.spi.TaskScheduler scheduler, com.hazelcast.license.domain.License license)
public LicenseExpirationReminderTask rescheduleWithNewLicense(com.hazelcast.license.domain.License license)
license.
If license is null, cancels the current task but does not schedule a new one.license - the license to use or nullnull if no task was scheduledCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.