| java.lang.Object org.drools.common.AbstractRuleBase
All known Subclasses: org.drools.reteoo.ReteooRuleBase,
Inner Class :public static class ReloadPackageCompilationData implements RuleBaseAction | |
Inner Class :public static interface RuleBaseAction extends Serializable | |
agendaGroupRuleTotals | protected Map agendaGroupRuleTotals(Code) | | |
statefulSessions | protected transient ObjectHashSet statefulSessions(Code) | | WeakHashMap to keep references of WorkingMemories but allow them to be
garbage collected
|
workingMemoryCounter | protected int workingMemoryCounter(Code) | | |
AbstractRuleBase | public AbstractRuleBase()(Code) | | Default constructor - for Externalizable. This should never be used by a user, as it
will result in an invalid state for the instance.
|
addClass | public void addClass(String className, byte[] bytes)(Code) | | |
addProcess | public synchronized void addProcess(Process process)(Code) | | |
disposeStatefulSession | public synchronized void disposeStatefulSession(StatefulSession statefulSession)(Code) | | |
doReadExternal | public void doReadExternal(ObjectInput stream, Object[] objects) throws IOException, ClassNotFoundException(Code) | | Handles the read serialization of the Package. Patterns in Rules may reference generated data which cannot be serialized by default methods.
The Package uses PackageCompilationData to hold a reference to the generated bytecode; which must be restored before any Rules.
A custom ObjectInputStream, able to resolve classes against the bytecode in the PackageCompilationData, is used to restore the Rules.
|
doWriteExternal | public void doWriteExternal(ObjectOutput stream, Object[] objects) throws IOException(Code) | | Handles the write serialization of the Package. Patterns in Rules may reference generated data which cannot be serialized by default methods.
The Package uses PackageCompilationData to hold a reference to the generated bytecode. The generated bytecode must be restored before any Rules.
|
executeQueuedActions | public void executeQueuedActions()(Code) | | |
getAgendaGroupRuleTotals | public Map getAgendaGroupRuleTotals()(Code) | | |
getPackagesMap | public Map getPackagesMap()(Code) | | |
nextWorkingMemoryCounter | public synchronized int nextWorkingMemoryCounter()(Code) | | |
removePackage | public synchronized void removePackage(String packageName)(Code) | | |
removeProcess | public synchronized void removeProcess(String id)(Code) | | |
removeRule | abstract protected void removeRule(Rule rule)(Code) | | |
|
|