org.drools.conflict
Class TotalRecencyConflictResolver
java.lang.Object
org.drools.conflict.AbstractConflictResolver
org.drools.conflict.TotalRecencyConflictResolver
- All Implemented Interfaces:
- Serializable, Comparator, ConflictResolver
public class TotalRecencyConflictResolver
- extends AbstractConflictResolver
A conflict resolver that compares the total recency of a tuple when
determining firing order.
- Version:
- $Id$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TotalRecencyConflictResolver
public TotalRecencyConflictResolver()
- 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.