|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.console.quota.data.QuotaBucketData
com.pcube.apps.console.quota.data.QuotaBucketDataLegacy
com.pcube.apps.console.quota.data.QuotaBucketDataPeriodical
public class QuotaBucketDataPeriodical
Internal bucket type. Include type (session,bytes) and value. *
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.pcube.apps.console.quota.data.QuotaBucketDataLegacy |
|---|
QuotaBucketDataLegacy.BucketType |
| Constructor Summary | |
|---|---|
QuotaBucketDataPeriodical(int id,
java.lang.String name)
create new bucket. |
|
| Method Summary | |
|---|---|
void |
copyData(QuotaBucketData temp)
run shallow copy from temp to this. |
void |
fromStream(java.io.BufferedReader in,
Formatter f)
Read Bucket configuration from PQB (non-Javadoc) |
long |
getValue()
|
QuotaBucketData |
makeCopy()
create copy of this bucket (this is a new object initited with same values) |
void |
setValue(long value)
set bucket value |
void |
toStream(java.io.PrintStream out,
Formatter f)
Method toStream |
| Methods inherited from class com.pcube.apps.console.quota.data.QuotaBucketDataLegacy |
|---|
copyInternalData, getBucketType, isL3BytesType, isSessionType, setBucketType |
| Methods inherited from class com.pcube.apps.console.quota.data.QuotaBucketData |
|---|
getDescription, getId, getName, isLimited, setDescription, setMyName, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuotaBucketDataPeriodical(int id,
java.lang.String name)
id - - bucket id (cannot be changed)name - - bucket name (changeable)| Method Detail |
|---|
public long getValue()
public void setValue(long value)
value - public QuotaBucketData makeCopy()
makeCopy in class QuotaBucketDatapublic void copyData(QuotaBucketData temp)
copyData in class QuotaBucketData
public void fromStream(java.io.BufferedReader in,
Formatter f)
throws ImportExportException
ImportExportExceptionFormattable.fromStream(java.io.BufferedReader, com.pcube.apps.engage.common.Formatter)
public void toStream(java.io.PrintStream out,
Formatter f)
Formattable
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||