org.drools.core.common
Class SynchronizedLeftTupleSets
java.lang.Object
org.drools.core.common.LeftTupleSetsImpl
org.drools.core.common.SynchronizedLeftTupleSets
- All Implemented Interfaces:
- LeftTupleSets
public class SynchronizedLeftTupleSets
- extends LeftTupleSetsImpl
- implements LeftTupleSets
| 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 interface org.drools.core.common.LeftTupleSets |
addAll, addAllDeletes, addAllInserts, addAllUpdates, deleteSize, getDeleteFirst, getInsertFirst, getUpdateFirst, insertSize, isEmpty, removeDelete, removeInsert, removeUpdate, toStringSizes, updateSize |
SynchronizedLeftTupleSets
public SynchronizedLeftTupleSets()
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:
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.