public interface TrafficShapingController
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPass(Node node,
int acquireCount)
Check whether given resource entry can pass with provided count.
|
boolean |
canPass(Node node,
int acquireCount,
boolean prioritized)
Check whether given resource entry can pass with provided count.
|
boolean canPass(Node node, int acquireCount, boolean prioritized)
node - resource nodeacquireCount - count to acquireprioritized - whether the request is prioritizedboolean canPass(Node node, int acquireCount)
node - resource nodeacquireCount - count to acquireCopyright © 2021 Alibaba Group. All rights reserved.