public abstract class AbstractDelegatingHandler extends Object implements PerCacheInboundInvocationHandler
PerCacheInboundInvocationHandler
in tests.| Modifier and Type | Field and Description |
|---|---|
protected PerCacheInboundInvocationHandler |
delegate |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingHandler(PerCacheInboundInvocationHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterHandle(CacheRpcCommand command,
DeliverOrder order,
boolean delegated)
Invoked after the command is handled.
|
protected boolean |
beforeHandle(CacheRpcCommand command,
Reply reply,
DeliverOrder order)
Invoked before the command is handled by the real
PerCacheInboundInvocationHandler. |
void |
handle(CacheRpcCommand command,
Reply reply,
DeliverOrder order)
Handles the
CacheRpcCommand from other node. |
protected final PerCacheInboundInvocationHandler delegate
protected AbstractDelegatingHandler(PerCacheInboundInvocationHandler delegate)
public void handle(CacheRpcCommand command, Reply reply, DeliverOrder order)
PerCacheInboundInvocationHandlerCacheRpcCommand from other node.handle in interface PerCacheInboundInvocationHandlercommand - the CacheRpcCommand to handle-reply - the return value is passed to this object in order to be sent back to the senderorder - the DeliverOrder in which the command was sentprotected boolean beforeHandle(CacheRpcCommand command, Reply reply, DeliverOrder order)
PerCacheInboundInvocationHandler.true if the command should be handled by the read PerCacheInboundInvocationHandler,
false otherwise.protected void afterHandle(CacheRpcCommand command, DeliverOrder order, boolean delegated)
delegated - true if the command was handled by the real PerCacheInboundInvocationHandler,
false otherwise.Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.