public abstract class AbstractLinkedProcessorSlot<T> extends Object implements ProcessorSlot<T>
| Constructor and Description |
|---|
AbstractLinkedProcessorSlot() |
| Modifier and Type | Method and Description |
|---|---|
void |
fireEntry(Context context,
ResourceWrapper resourceWrapper,
Object obj,
int count,
boolean prioritized,
Object... args)
|
void |
fireExit(Context context,
ResourceWrapper resourceWrapper,
int count,
Object... args)
Means finish of
ProcessorSlot.exit(Context, ResourceWrapper, int, Object...). |
AbstractLinkedProcessorSlot<?> |
getNext() |
void |
setNext(AbstractLinkedProcessorSlot<?> next) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentry, exitpublic void fireEntry(Context context, ResourceWrapper resourceWrapper, Object obj, int count, boolean prioritized, Object... args) throws Throwable
ProcessorSlotfireEntry in interface ProcessorSlot<T>context - current ContextresourceWrapper - current resourceobj - relevant object (e.g. Node)count - tokens neededprioritized - whether the entry is prioritizedargs - parameters of the original callThrowable - blocked exception or unexpected errorpublic void fireExit(Context context, ResourceWrapper resourceWrapper, int count, Object... args)
ProcessorSlotProcessorSlot.exit(Context, ResourceWrapper, int, Object...).fireExit in interface ProcessorSlot<T>context - current ContextresourceWrapper - current resourcecount - tokens neededargs - parameters of the original callpublic AbstractLinkedProcessorSlot<?> getNext()
public void setNext(AbstractLinkedProcessorSlot<?> next)
Copyright © 2019 Alibaba Group. All rights reserved.