public class Metered extends Object
Constructor and Description |
---|
Metered()
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static double |
getConsumptionCredit()
Retrieves the count of credits consumed.
|
static double |
getConsumptionQuantity()
Retrieves the amount of MBs processed.
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets metered public and private key.
|
public void setMeteredKey(String publicKey, String privateKey) throws Exception
publicKey
- A public key.privateKey
- A private key.Exception
public static double getConsumptionQuantity() throws Exception
Exception