public interface IUserDiskUsage
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentDiskUsage(long userId)
Gets the current disk usage, in bytes
|
long |
getDiskUsageLimit(long userId)
Gets the disk usage limit, in bytes
|
boolean |
isMaxDiskUsageReached(long userId)
Checks if maximum disk usage is reached.
|
boolean |
setDiskUsageLimit(long userId,
long maxDiskUsageBytes)
Sets the disk usage limit, in bytes
|
boolean isMaxDiskUsageReached(long userId)
throws SurveySystemException
userId - User who is being checkedSurveySystemExceptionlong getCurrentDiskUsage(long userId)
throws SurveySystemException
userId - id of user to get the disk usage for.SurveySystemExceptionboolean setDiskUsageLimit(long userId,
long maxDiskUsageBytes)
throws SurveySystemException
userId - The user to set the new usage limit formaxDiskUsageBytes - The new disk usage limit, in bytes. If value is 0 or less, the value
will be ignored and the current default will be used instead.SurveySystemExceptionlong getDiskUsageLimit(long userId)
throws SurveySystemException
userId - The id of user to get disk usage limit.SurveySystemExceptionBuilt on July 29 2025