Class LicenseResourceJob
java.lang.Object
com.atlassian.crowd.manager.license.LicenseResourceJob
- All Implemented Interfaces:
com.atlassian.scheduler.JobRunner
System event that runs calculating the total number of resources are being consumed verses the license resource
limit. If the system is nearing 90% usage, an email is sent to the administrator.
-
Constructor Summary
ConstructorDescriptionLicenseResourceJob
(CrowdLicenseManager crowdLicenseManager, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.scheduler.JobRunnerResponse
runJob
(com.atlassian.scheduler.JobRunnerRequest request) Runs the job of notifying the administrator if the current license resource limit is above 90%.
-
Constructor Details
-
LicenseResourceJob
public LicenseResourceJob(CrowdLicenseManager crowdLicenseManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
runJob
public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request) Runs the job of notifying the administrator if the current license resource limit is above 90%.- Specified by:
runJob
in interfacecom.atlassian.scheduler.JobRunner
-