| java.lang.Object org.drools.common.DefaultFactHandle org.drools.jsr94.rules.Jsr94FactHandle
Jsr94FactHandle | public class Jsr94FactHandle extends DefaultFactHandle implements Handle(Code) | | The Drools implementation of the Handle interface which provides
a marker interface for Drools-specific object identity mechanism. When using
the StatefulRuleSession objects that are added to rule session
state are identified using a Drools-supplied Handle
implementation.
Handle s are used to unambigiously identify objects within the
rule session state and should not suffer many of the object identity issues
that arise when using muliple class loaders, serializing
StatefulRuleSessions , or using Object.equals or
object1 == object2 reference equality.
|
Jsr94FactHandle | Jsr94FactHandle(long id, Object object, long recency)(Code) | | Constructs a new Handle .
Parameters: id - A unique Handle id. Parameters: recency - A value indicating the recency of this Handle (more recently created Handle s have greater valuesthan Handle s created further in the past) See Also: org.drools.conflict.RecencyConflictResolver |
|
|