| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface DataVersion
When versioning data nodes in optimistic locking, a DataVersion is assigned
 to each node.  Versions need to implement the newerThan(org.jboss.cache.optimistic.DataVersion) method so
 they can be compared during the validation phase upon commit.
 
Externalizable and make use
 of a good marshalling/unmarshalling mechanism for the sake of efficiency, as these objects are
 frequently serialized to be replicated across the wire.
| Method Summary | |
|---|---|
|  boolean | newerThan(DataVersion other)Deprecated. Returns true if this is a newer version than other. | 
| Method Detail | 
|---|
boolean newerThan(DataVersion other)
other.  There is no guarantee that the DataVersion passed
 in is of the same implementation as the current instance.  The implementation will have to check for this (if necessary)
 and (if necessary) throw a DataVersioningException.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||