org.drools.conflict
Class RecencyConflictResolver
java.lang.Object
org.drools.conflict.AbstractConflictResolver
org.drools.conflict.RecencyConflictResolver
- All Implemented Interfaces:
- Serializable, Comparator, ConflictResolver
public class RecencyConflictResolver
- extends AbstractConflictResolver
ConflictResolver
that uses the mostRecentFactTimeStamp of
rules to resolve conflict.
- See Also:
getInstance()
,
org.drools.spi.Tuple#getMostRecentFactTimeStamp
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecencyConflictResolver
public RecencyConflictResolver()
- Construct.
getInstance
public static ConflictResolver getInstance()
- Retrieve the singleton instance.
- Returns:
- The singleton instance.
compare
public int compare(Activation lhs,
Activation rhs)
- See Also:
ConflictResolver
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.