|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.usage.RepoUsageMonitor
public class RepoUsageMonitor
This component monitors the repository usages, issuing warnings and errors as necessary.
Nested Class Summary | |
---|---|
static class |
RepoUsageMonitor.RepoUsageMonitorJob
The job that kicks off the usage monitoring. |
Constructor Summary | |
---|---|
RepoUsageMonitor()
|
Method Summary | |
---|---|
void |
checkUsages()
Performs the physical checking of usages. |
void |
init()
Check that all properties are properly set |
void |
onChangeRestriction(RepoUsage restrictions)
Checks the current status, logs messages and sets a read-write veto, if necessary |
void |
setRepoUsageComponent(RepoUsageComponent repoUsageComponent)
|
void |
setScheduler(org.quartz.Scheduler scheduler)
|
void |
setTransactionService(TransactionService transactionService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepoUsageMonitor()
Method Detail |
---|
public void setScheduler(org.quartz.Scheduler scheduler)
scheduler
- Timed updatespublic void setTransactionService(TransactionService transactionService)
transactionService
- service that tells if the server is read-only or notpublic void setRepoUsageComponent(RepoUsageComponent repoUsageComponent)
repoUsageComponent
- provides data on usagespublic void init() throws org.quartz.SchedulerException
org.quartz.SchedulerException
public void checkUsages()
public void onChangeRestriction(RepoUsage restrictions)
onChangeRestriction
in interface RepoUsageComponent.RestrictionObserver
restrictions
- the new restrictions
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |