org.infinispan.commands.read
Class AbstractLocalCommand

java.lang.Object
  extended by org.infinispan.commands.read.AbstractLocalCommand
All Implemented Interfaces:
LocalCommand
Direct Known Subclasses:
EntrySetCommand, KeySetCommand, SizeCommand, ValuesCommand

public class AbstractLocalCommand
extends Object
implements LocalCommand

Abstract class

Since:
4.1
Author:
Manik Surtani, Mircea.Markus@jboss.com

Constructor Summary
AbstractLocalCommand()
           
 
Method Summary
 byte getCommandId()
           
 Object[] getParameters()
           
 boolean ignoreCommandOnStatus(ComponentStatus status)
           
 boolean isReturnValueExpected()
           
protected  boolean noTxModifications(InvocationContext ctx)
           
 void setParameters(int commandId, Object[] parameters)
           
 boolean shouldInvoke(InvocationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLocalCommand

public AbstractLocalCommand()
Method Detail

getCommandId

public byte getCommandId()

getParameters

public Object[] getParameters()

setParameters

public void setParameters(int commandId,
                          Object[] parameters)

shouldInvoke

public boolean shouldInvoke(InvocationContext ctx)

noTxModifications

protected boolean noTxModifications(InvocationContext ctx)

ignoreCommandOnStatus

public boolean ignoreCommandOnStatus(ComponentStatus status)

isReturnValueExpected

public boolean isReturnValueExpected()

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.