Drools :: Core 6.1.0.Beta1

org.drools.core.common
Class SynchronizedLeftTupleSets

java.lang.Object
  extended by org.drools.core.common.LeftTupleSetsImpl
      extended by org.drools.core.common.SynchronizedLeftTupleSets
All Implemented Interfaces:
LeftTupleSets

public class SynchronizedLeftTupleSets
extends LeftTupleSetsImpl
implements LeftTupleSets


Constructor Summary
SynchronizedLeftTupleSets()
           
 
Method Summary
 boolean addDelete(LeftTuple leftTuple)
           
 boolean addInsert(LeftTuple leftTuple)
           
 boolean addUpdate(LeftTuple leftTuple)
           
 Object getLock()
           
 void resetAll()
           
 LeftTupleSets takeAll()
          The returned LeftTupleSet, is not thread safe.
 
Methods inherited from class org.drools.core.common.LeftTupleSetsImpl
addAll, addAllDeletes, addAllInserts, addAllUpdates, clear, deleteSize, getDeleteFirst, getInsertFirst, getUpdateFirst, insertSize, isEmpty, removeDelete, removeInsert, removeUpdate, resetDelete, resetInsert, resetUpdate, toString, toStringSizes, updateSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.core.common.LeftTupleSets
addAll, addAllDeletes, addAllInserts, addAllUpdates, deleteSize, getDeleteFirst, getInsertFirst, getUpdateFirst, insertSize, isEmpty, removeDelete, removeInsert, removeUpdate, toStringSizes, updateSize
 

Constructor Detail

SynchronizedLeftTupleSets

public SynchronizedLeftTupleSets()
Method Detail

getLock

public Object getLock()

addInsert

public boolean addInsert(LeftTuple leftTuple)
Specified by:
addInsert in interface LeftTupleSets
Overrides:
addInsert in class LeftTupleSetsImpl

addDelete

public boolean addDelete(LeftTuple leftTuple)
Specified by:
addDelete in interface LeftTupleSets
Overrides:
addDelete in class LeftTupleSetsImpl

addUpdate

public boolean addUpdate(LeftTuple leftTuple)
Specified by:
addUpdate in interface LeftTupleSets
Overrides:
addUpdate in class LeftTupleSetsImpl

resetAll

public void resetAll()
Specified by:
resetAll in interface LeftTupleSets
Overrides:
resetAll in class LeftTupleSetsImpl

takeAll

public LeftTupleSets takeAll()
The returned LeftTupleSet, is not thread safe.

Specified by:
takeAll in interface LeftTupleSets
Overrides:
takeAll in class LeftTupleSetsImpl
Returns:

Drools :: Core 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.