Class QuotaInfo
java.lang.Object
org.apache.iotdb.confignode.persistence.quota.QuotaInfo
- All Implemented Interfaces:
SnapshotProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidprocessLoadSnapshot(File snapshotDir) booleanprocessTakeSnapshot(File snapshotDir) setSpaceQuota(SetSpaceQuotaPlan setSpaceQuotaPlan) setThrottleQuota(SetThrottleQuotaPlan setThrottleQuotaPlan)
-
Constructor Details
-
QuotaInfo
public QuotaInfo()
-
-
Method Details
-
setSpaceQuota
-
setThrottleQuota
-
getSpaceQuotaLimit
-
processTakeSnapshot
public boolean processTakeSnapshot(File snapshotDir) throws org.apache.thrift.TException, IOException - Specified by:
processTakeSnapshotin interfaceSnapshotProcessor- Throws:
org.apache.thrift.TExceptionIOException
-
processLoadSnapshot
- Specified by:
processLoadSnapshotin interfaceSnapshotProcessor- Throws:
org.apache.thrift.TExceptionIOException
-
getSpaceQuotaUsage
-
getThrottleQuotaLimit
-
clear
public void clear()
-