MeteredCountService
Inheritance: java.lang.Object
public class MeteredCountService
This internal class is used to handle customer’s consumption data, the unit is MB.
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getInstance() | |
| hashCode() | |
| increaseCount(double count) | Increase customer consumption file size, and try to upload data |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getInstance()
public static MeteredCountService getInstance()
Returns: MeteredCountService
hashCode()
public native int hashCode()
Returns: int
increaseCount(double count)
public void increaseCount(double count)
Increase customer consumption file size, and try to upload data
Parameters:
| Parameter | Type | Description |
|---|---|---|
| count | double | increased quantities, in unit of MB |
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |