public class MeteredCountService extends Object
Modifier and Type | Method and Description |
---|---|
void |
flush() |
static MeteredCountService |
getInstance() |
void |
increaseCount(double count)
Increase customer consumption file size, and try to upload data
|
void |
increaseCredit(long credit)
Increase customer consumption credit, and try to upload
|
void |
increaseCredit(long credit,
boolean isSend)
Increase customer consumption credit
|
public static MeteredCountService getInstance()
public void increaseCount(double count)
count
- increased quantities, in unit of MBpublic final void flush()
public void increaseCredit(long credit)
credit
- increased creditpublic void increaseCredit(long credit, boolean isSend)
credit
- increased creditisSend
- whether upload dataCopyright © 2022 Aspose. All Rights Reserved.