ehcache

net.sf.ehcache.transaction.xa
Class PreparedCommandImpl

java.lang.Object
  extended by net.sf.ehcache.transaction.xa.PreparedCommandImpl
All Implemented Interfaces:
PreparedCommand

public class PreparedCommandImpl
extends java.lang.Object
implements PreparedCommand

Default implementation of PreparedCommand.

Author:
Nabib El-Rahman

Constructor Summary
PreparedCommandImpl(java.lang.Object key, boolean isWrite)
          Constructor
 
Method Summary
 java.lang.Object getKey()
          Key of command
 boolean isWriteCommand()
          If this is write command (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedCommandImpl

public PreparedCommandImpl(java.lang.Object key,
                           boolean isWrite)
Constructor

Parameters:
key -
isWrite -
Method Detail

getKey

public java.lang.Object getKey()
Key of command

Specified by:
getKey in interface PreparedCommand
Returns:

isWriteCommand

public boolean isWriteCommand()
If this is write command (i.e. put, remove)

Specified by:
isWriteCommand in interface PreparedCommand
Returns:

ehcache

true