|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionAwareCommand
A more specialized type of Command, that is potentially aware of a version of the Element involved in its execution against the Store.
| Field Summary |
|---|
| Fields inherited from interface net.sf.ehcache.transaction.Command |
|---|
EXPIRE_ALL_ELEMENTS, NULL, PUT, PUT_WITH_WRITER, REMOVE, REMOVE_ALL, REMOVE_WITH_WRITER |
| Method Summary | |
|---|---|
java.lang.Object |
getKey()
Getter to the key of the Element this command affects |
long |
getVersion()
getter to the version of the Element this affects |
boolean |
isVersionAware()
Checks whether this command aware of any version scheme of the Element if affects |
boolean |
isWriteCommand()
Checks whether this command is a write command to the underlying store |
| Methods inherited from interface net.sf.ehcache.transaction.Command |
|---|
execute, execute, getCommandName, isPut, isRemove |
| Method Detail |
|---|
boolean isWriteCommand()
Command.execute(net.sf.ehcache.store.Store)boolean isVersionAware()
long getVersion()
java.lang.Object getKey()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||