public class DataVersionAdapter extends Object implements org.jboss.cache.optimistic.DataVersion
Constructor and Description |
---|
DataVersionAdapter(Object currentVersion,
Object previousVersion,
Comparator versionComparator,
String sourceIdentifer) |
Modifier and Type | Method and Description |
---|---|
boolean |
newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
newerThan() call is dispatched against the DataVersion currently
associated with the node; the passed dataVersion param is the DataVersion
associated with the data we are trying to put into the node.
|
String |
toString() |
public DataVersionAdapter(Object currentVersion, Object previousVersion, Comparator versionComparator, String sourceIdentifer)
public boolean newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
newerThan
in interface org.jboss.cache.optimistic.DataVersion
Copyright © 2002-2012 Red Hat Middleware, LLC. All Rights Reserved