@Service public class ServerQuotaServiceImpl extends Object implements ServerQuotaService
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ServerQuotaServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ServerQuota |
getServerQuota()
Gets the Server quota
|
ServerQuota |
refreshServerQuota()
Refresh the server quota, only goes to Collaborate if last update
was longer than an hour ago.
|
void |
scheduledRefreshServerQuota() |
void |
setGlobalSettingWSDao(GlobalSettingsWSDao value) |
void |
setServerQuotaDao(ServerQuotaDao serverQuotaDao) |
@Autowired public void setServerQuotaDao(ServerQuotaDao serverQuotaDao)
@Autowired public void setGlobalSettingWSDao(GlobalSettingsWSDao value)
public ServerQuota getServerQuota()
getServerQuota in interface ServerQuotaService@Scheduled(fixedRate=86400000L) public void scheduledRefreshServerQuota()
public ServerQuota refreshServerQuota()
refreshServerQuota in interface ServerQuotaServiceCopyright © 2016 Jasig. All Rights Reserved.