@Spi(order=-6000) public class AuthoritySlot extends AbstractLinkedProcessorSlot<DefaultNode>
ProcessorSlot that dedicates to AuthorityRule checking.| Constructor and Description |
|---|
AuthoritySlot() |
| Modifier and Type | Method and Description |
|---|---|
void |
entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args)
Entrance of this slot.
|
void |
exit(Context context,
ResourceWrapper resourceWrapper,
int count,
Object... args)
Exit of this slot.
|
fireEntry, fireExit, getNext, setNextpublic void entry(Context context, ResourceWrapper resourceWrapper, DefaultNode node, int count, boolean prioritized, Object... args) throws Throwable
ProcessorSlotpublic void exit(Context context, ResourceWrapper resourceWrapper, int count, Object... args)
ProcessorSlotcontext - current ContextresourceWrapper - current resourcecount - tokens neededargs - parameters of the original callCopyright © 2021 Alibaba Group. All rights reserved.