Mesuré
Contenu
[
Cacher
]Inheritance: java.lang.Object
public class Metered
Fournit des méthodes pour définir la clé mesurée.
Constructeurs
| Constructeur | Description |
|---|---|
| Metered() | Initialise une nouvelle instance de cette classe. |
Méthodes
| Méthode | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getConsumptionCredit() | Obtient le crédit de consommation |
| getConsumptionQuantity() | Obtient la taille du fichier de consommation |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setMeteredKey(String publicKey, String privateKey) | Définit la clé publique et privée mesurée |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Metered()
public Metered()
Initialise une nouvelle instance de cette classe.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getConsumptionCredit()
public static double getConsumptionCredit()
Obtient le crédit de consommation
Returns: double - quantité de consommation
getConsumptionQuantity()
public static double getConsumptionQuantity()
Obtient la taille du fichier de consommation
Returns: double - quantité de consommation
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setMeteredKey(String publicKey, String privateKey)
public void setMeteredKey(String publicKey, String privateKey)
Définit la clé publique et privée mesurée
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| publicKey | java.lang.String | clé publique |
| privateKey | java.lang.String | clé privée |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |