|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.vfs.Quota
public class Quota
Defines bandwidth quota for an account.
Constructor Summary | |
---|---|
Quota()
Creates a new Quota instance. |
|
Quota(long bytes,
long resetPeriod)
Creates a new Quota instance. |
|
Quota(Quota that)
Creates a new Quota instance. |
Method Summary | |
---|---|
long |
getBytes()
Gets number of bytes that may be transferred during period. |
long |
getResetPeriod()
Gets reset period in milliseconds. |
void |
setBytes(long value)
Sets number of bytes that may be transferred during period. |
void |
setResetPeriod(long value)
Sets reset period in milliseconds. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Quota(long bytes, long resetPeriod)
bytes
- the number of bytes that may be transferred during periodresetPeriod
- the reset period in millisecondspublic Quota(Quota that)
that
- instance to copy frompublic Quota()
Method Detail |
---|
public long getBytes()
public void setBytes(long value)
value
- number of bytespublic long getResetPeriod()
public void setResetPeriod(long value)
value
- reset period in millisecondspublic java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |