|
Drools :: JSR-94 API Module 6.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.util.AbstractBaseLinkedListNode<org.drools.core.common.DefaultFactHandle>
org.drools.core.common.DefaultFactHandle
org.drools.core.common.EventFactHandle
org.drools.jsr94.rules.Jsr94EventFactHandle
public class Jsr94EventFactHandle
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.
Handles 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.
| Constructor Summary | |
|---|---|
Jsr94EventFactHandle(long id,
Object object,
long recency,
long timestamp,
long duration,
org.kie.api.runtime.rule.SessionEntryPoint entryPoint)
Creates a new event fact handle. |
|
| Method Summary |
|---|
| Methods inherited from class org.drools.core.common.EventFactHandle |
|---|
clone, cloneAndLink, compareTo, decreaseActivationsCount, getActivationsCount, getDuration, getEndTimestamp, getStartTimestamp, increaseActivationsCount, isEvent, isExpired, quickClone, setActivationsCount, setExpired, toExternalForm, toString |
| Methods inherited from class org.drools.core.common.DefaultFactHandle |
|---|
addFirstLeftTuple, addFirstRightTuple, addLastLeftTuple, addLastRightTuple, addLeftTupleInPosition, addRightTupleInPosition, clearLeftTuples, clearRightTuples, determineIdentityHashCode, disconnect, equals, getEntryPoint, getEqualityKey, getExternalForm, getFirstLeftTuple, getFirstRightTuple, getId, getIdentityHashCode, getLastLeftTuple, getLastRightTuple, getObject, getObjectHashCode, getRecency, hashCode, invalidate, isDisconnected, isTrait, isValid, quickCloneUpdate, removeLeftTuple, removeRightTuple, setEntryPoint, setEqualityKey, setExternalForm, setFirstLeftTuple, setFirstRightTuple, setLastLeftTuple, setLastRightTuple, setObject, setObjectHashCode, setRecency, toTupleTree |
| Methods inherited from class org.drools.core.util.AbstractBaseLinkedListNode |
|---|
getNext, getPrevious, setNext, setPrevious |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Jsr94EventFactHandle(long id,
Object object,
long recency,
long timestamp,
long duration,
org.kie.api.runtime.rule.SessionEntryPoint entryPoint)
id - this event fact handle IDobject - the event object encapsulated in this event fact handlerecency - the recency of this event fact handletimestamp - the timestamp of the occurence of this eventduration - the duration of this event. May be 0 (zero) in case this is a primitive event.
|
Drools :: JSR-94 API Module 6.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||