Package org.apache.hadoop.hbase.quotas
Interface MasterQuotaManager.SetQuotaOperations
- Enclosing class:
- MasterQuotaManager
private static interface MasterQuotaManager.SetQuotaOperations
Encapsulates CRUD quota operations for some subject.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Deletes the quota for the subject.fetch()
Fetches the current quota settings for the subject.void
postApply
(GlobalQuotaSettingsImpl quotaPojo) Performs some action afterupdate(GlobalQuotaSettingsImpl)
with the resulting quota from the request action for the subject.void
preApply
(GlobalQuotaSettingsImpl quotaPojo) Performs some action beforeupdate(GlobalQuotaSettingsImpl)
with the current quota for the subject.void
update
(GlobalQuotaSettingsImpl quotaPojo) Persist the given quota for the subject.
-
Method Details
-
fetch
Fetches the current quota settings for the subject.- Throws:
IOException
-
delete
Deletes the quota for the subject.- Throws:
IOException
-
update
Persist the given quota for the subject.- Throws:
IOException
-
preApply
Performs some action beforeupdate(GlobalQuotaSettingsImpl)
with the current quota for the subject.- Throws:
IOException
-
postApply
Performs some action afterupdate(GlobalQuotaSettingsImpl)
with the resulting quota from the request action for the subject.- Throws:
IOException
-