public void execute( final ObjectSinkPropagator sink, final InternalWorkingMemory workingMemory ) { if ( handle.isEvent() ) { (( EventFactHandle ) handle).decPendingActions(); } } }
public Action(InternalFactHandle handle, PropagationContext context) { super(); if ( handle.isEvent() ) { (( EventFactHandle ) handle).incPendingActions(); } this.handle = handle; this.context = context; }
public void decreaseActivationCountForEvents() { for ( LeftTuple entry = this; entry != null; entry = entry.getParent() ) { if( entry.getLastHandle().isEvent() ) { ((EventFactHandle)entry.getLastHandle()).decreaseActivationsCount(); } } } }
public void increaseActivationCountForEvents() { for ( LeftTuple entry = this; entry != null; entry = entry.getParent() ) { if( entry.getLastHandle().isEvent() ) { ((EventFactHandle)entry.getLastHandle()).increaseActivationsCount(); } } }
if ( ! handle.isValid() || object == null || (handle.isEvent() && ((EventFactHandle) handle).isExpired()) ) {
if ( tuple.getLastHandle().isEvent() ) { EventFactHandle handle = (EventFactHandle) tuple.getLastHandle();