org.infinispan.commands.remote
Class BaseRpcCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
- All Implemented Interfaces:
- CacheRpcCommand, ReplicableCommand
- Direct Known Subclasses:
- MultipleRpcCommand, SingleRpcCommand
public abstract class BaseRpcCommand
- extends Object
- implements CacheRpcCommand
Base class for RPC commands.
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interceptorChain
protected InterceptorChain interceptorChain
cacheName
protected String cacheName
BaseRpcCommand
protected BaseRpcCommand(String cacheName)
getCacheName
public String getCacheName()
- Specified by:
getCacheName
in interface CacheRpcCommand
- Returns:
- the name of the cache that produced this command. This will also be the name of the cache this command is
intended for.
setInterceptorChain
public void setInterceptorChain(InterceptorChain interceptorChain)
processCommand
protected final Object processCommand(InvocationContext ctx,
ReplicableCommand cacheCommand)
throws Throwable
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.