| Modifier and Type | Method and Description |
|---|---|
AsyncEntry |
asyncEntryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args)
Create an asynchronous resource with provided classification.
|
Entry |
entryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args)
Create a protected resource with provided classification.
|
Entry |
entryWithType(String name,
int resourceType,
EntryType entryType,
int count,
Object[] args)
Create a protected resource with provided classification.
|
Entry entryWithType(String name, int resourceType, EntryType entryType, int count, Object[] args) throws BlockException
name - the unique name of the protected resourceresourceType - the classification of the resourceentryType - the traffic entry type (IN/OUT) of the resourcecount - tokens requiredargs - extra parametersBlockException - if the block criteria is metEntry entryWithType(String name, int resourceType, EntryType entryType, int count, boolean prioritized, Object[] args) throws BlockException
name - the unique name of the protected resourceresourceType - the classification of the resourceentryType - the traffic entry type (IN/OUT) of the resourcecount - tokens requiredprioritized - whether the entry is prioritizedargs - extra parametersBlockException - if the block criteria is metAsyncEntry asyncEntryWithType(String name, int resourceType, EntryType entryType, int count, boolean prioritized, Object[] args) throws BlockException
name - the unique name of the protected resourceresourceType - the classification of the resourceentryType - the traffic entry type (IN/OUT) of the resourcecount - tokens requiredprioritized - whether the entry is prioritizedargs - extra parametersBlockException - if the block criteria is metCopyright © 2019 Alibaba Group. All rights reserved.