类 AbstractLinkedProcessorSlot<T>
java.lang.Object
com.alibaba.csp.sentinel.slotchain.AbstractLinkedProcessorSlot<T>
- 所有已实现的接口:
ProcessorSlot<T>
- 直接已知子类:
AuthoritySlot,ClusterBuilderSlot,DefaultCircuitBreakerSlot,DegradeSlot,FlowSlot,LogSlot,NodeSelectorSlot,ProcessorSlotChain,StatisticSlot,SystemSlot
- 作者:
- qinan.qn, jialiang.linjl
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidfireEntry(Context context, ResourceWrapper resourceWrapper, Object obj, int count, boolean prioritized, Object... args) voidfireExit(Context context, ResourceWrapper resourceWrapper, int count, Object... args) Means finish ofProcessorSlot.exit(Context, ResourceWrapper, int, Object...).getNext()voidsetNext(AbstractLinkedProcessorSlot<?> next) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.csp.sentinel.slotchain.ProcessorSlot
entry, exit
-
构造器详细资料
-
AbstractLinkedProcessorSlot
public AbstractLinkedProcessorSlot()
-
-
方法详细资料
-
fireEntry
public void fireEntry(Context context, ResourceWrapper resourceWrapper, Object obj, int count, boolean prioritized, Object... args) throws Throwable 从接口复制的说明:ProcessorSlot- 指定者:
fireEntry在接口中ProcessorSlot<T>- 参数:
context- currentContextresourceWrapper- current resourceobj- relevant object (e.g. Node)count- tokens neededprioritized- whether the entry is prioritizedargs- parameters of the original call- 抛出:
Throwable- blocked exception or unexpected error
-
fireExit
从接口复制的说明:ProcessorSlotMeans finish ofProcessorSlot.exit(Context, ResourceWrapper, int, Object...).- 指定者:
fireExit在接口中ProcessorSlot<T>- 参数:
context- currentContextresourceWrapper- current resourcecount- tokens neededargs- parameters of the original call
-
getNext
-
setNext
-