|
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.QuotaBucketsProfileLegacy
com.pcube.apps.quota.api.QuotaBucketsProfileInternal
public class QuotaBucketsProfileInternal
API for configuring internal quota bucktes. Allow configuring the buckets type and volume. Attach Service (session/upload/downlaod) to be counted on which bucket.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.pcube.apps.quota.api.QuotaBucketsProfileLegacy |
|---|
QuotaBucketsProfileLegacy.InternalBucketType |
| Constructor Summary | |
|---|---|
QuotaBucketsProfileInternal(Policy p,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
attachDownBucket(java.lang.String serviceName,
int bucketId)
Service download to be counted on bucket |
void |
attachDownBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
Service download to be counted on bucket |
void |
attachSessionBucket(java.lang.String serviceName,
int bucketId)
Service session to be counted on bucket. |
void |
attachSessionBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
Service session to be counted on bucket. |
void |
attachUpBucket(java.lang.String serviceName,
int bucketId)
Service upload to be counted on bucket |
void |
attachUpBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
Service upload to be counted on bucket |
static void |
main(java.lang.String[] args)
|
void |
setBucketType(int id,
QuotaBucketsProfileLegacy.InternalBucketType type)
set bucket type. |
void |
setBucketVolume(int id,
long value)
Set bucket value. |
| 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 QuotaBucketsProfileInternal(Policy p,
java.lang.String name)
p - - policyname - - profile name (must be unique on policy)| Method Detail |
|---|
public void setBucketType(int id,
QuotaBucketsProfileLegacy.InternalBucketType type)
id - - bucket id 1-16type - - session/L3kbytes.
public void setBucketVolume(int id,
long value)
id - - bucket id 1-16value - - integer
public void attachSessionBucket(java.lang.String serviceName,
int bucketId)
throws QuotaDataException
serviceName - bucketId -
QuotaDataException
public void attachSessionBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
throws QuotaDataException
service - bucketId - serviceFrameNum - - time frame 1-4.
QuotaDataException
public void attachUpBucket(java.lang.String serviceName,
int bucketId)
throws QuotaDataException
service - bucketId -
QuotaDataException
public void attachUpBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
throws QuotaDataException
service - sessionBucket -
QuotaDataException
public void attachDownBucket(java.lang.String serviceName,
int bucketId)
throws QuotaDataException
service - bucketId -
QuotaDataException
public void attachDownBucket(java.lang.String serviceName,
int bucketId,
int serviceFrameNum)
throws QuotaDataException
service - sessionBucket -
QuotaDataException
public static void main(java.lang.String[] args)
throws QuotaDataException
QuotaDataException
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||