org.drools.conflict
Class PrimacyConflictResolver
java.lang.Object
org.drools.conflict.AbstractConflictResolver
org.drools.conflict.PrimacyConflictResolver
- All Implemented Interfaces:
- Serializable, Comparator, ConflictResolver
public class PrimacyConflictResolver
- extends AbstractConflictResolver
ConflictResolver
that uses the leastRecentFactTimeStamp of
tuples to resolve conflict.
- Author:
- bob mcwhirter , Simon Harris
- See Also:
getInstance()
,
Tuple.getLeastRecentFactTimeStamp()
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimacyConflictResolver
public PrimacyConflictResolver()
- 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-2005 The Codehaus. All Rights Reserved.