|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.quota.api.QuotaBucketsProfile
com.pcube.apps.quota.api.QuotaBucketsProfileGy
public class QuotaBucketsProfileGy
Configuring Gy Quota Buckets. Allow configuring buckets defaults. Attaching Service to Bucket.
| Constructor Summary | |
|---|---|
QuotaBucketsProfileGy(Policy p,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
attachBucket(java.lang.String serviceName,
int bucketId)
Attach Service to be counted on bucket. |
void |
attachBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
Attach Service to be counted on bucket. |
void |
setFinalUnitAction(int bucketId,
QuotaBucketDataGy.FinalUnitAction finalUnitAction)
Set final unit action default. |
void |
setQuotaConsumptionTime(int bucketId,
long quotaConsumptionTime)
set quota consumption in seconds default. |
void |
setQuotaHoldingTime(int bucketId,
long quotaHoldingTime)
set quota holding time in seconds default. |
void |
setQuotaValidityTime(int bucketId,
long quotaValidityTime)
set quota validity time deafult |
void |
setReqQuotaUponLogin(int bucketId,
boolean reqQuotaUponLogin)
set is request quota upon login default |
| Methods inherited from class com.pcube.apps.quota.api.QuotaBucketsProfile |
|---|
getMyName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuotaBucketsProfileGy(Policy p,
java.lang.String name)
p - - Policyname - - profile name (must be unique).| Method Detail |
|---|
public void setReqQuotaUponLogin(int bucketId,
boolean reqQuotaUponLogin)
reqQuotaUponLogin -
public void setQuotaConsumptionTime(int bucketId,
long quotaConsumptionTime)
quotaConsumptionTime -
public void setQuotaHoldingTime(int bucketId,
long quotaHoldingTime)
quotaHoldingTime -
public void setQuotaValidityTime(int bucketId,
long quotaValidityTime)
quotaValidityTime - - time in seconds
public void setFinalUnitAction(int bucketId,
QuotaBucketDataGy.FinalUnitAction finalUnitAction)
bucketId - finalUnitAction -
public void attachBucket(java.lang.String serviceName,
int bucketId)
throws QuotaDataException
service - bucketId -
QuotaDataException
public void attachBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
throws QuotaDataException
serviceName - - service namebucketId - serviceFrameNum - - the time frame
QuotaDataException
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||