Aspose::Pub::MeteredCountService class

MeteredCountService class

This internal class is used to handle customer’s consumption data, the unit is MB.

class MeteredCountService : public System::Object

Methods

MethodDescription
_IncreaseCount(System::Decimal, bool)
_IncreaseCredit(int64_t, bool)
Flush()
static get_Instance()
GetAndResetCount()Gets and Resets customer consumption file size.
GetAndResetCredit()Get and Reset customer consumption credit.
IncreaseCount(double)Increase customer consumption file size, and try to upload data.
IncreaseCount(System::Decimal, bool)Increase customer consumption file size.
IncreaseCredit(int64_t)Increase customer consumption credit, and try to upload.
IncreaseCredit(int64_t, bool)Increase customer consumption credit.

Fields

FieldDescription
static MAX_SERVER_INTERNAL_ERROR_TIME_INTERVAL
static MAX_UPLOAD_FAIL_RESET_NUMBER
static MAX_UPLOAD_FAIL_RESET_TIME_INTERVAL

See Also