mta.mining.ab
Class PatternSearcherFactory
java.lang.Object
mta.mining.ab.PatternSearcherFactory
- All Implemented Interfaces:
- sofya.ed.semantic.ChainedEventListenerFactory
- public final class PatternSearcherFactory
- extends java.lang.Object
- implements sofya.ed.semantic.ChainedEventListenerFactory
A factory for (ab)* pattern searchers. Used to create a separate
pattern searcher for each thread's event stream. This ensures that
candidate patterns can only be derived from the call events on individual
threads.
- Author:
- Alex Kinneer
Method Summary |
sofya.ed.semantic.ChainedEventListener |
createEventListener(sofya.ed.semantic.ChainedEventListener parent,
long streamId,
java.lang.String streamName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternSearcherFactory
public PatternSearcherFactory(CleanupCallFinder callChecker,
ResultCollector results)
createEventListener
public sofya.ed.semantic.ChainedEventListener createEventListener(sofya.ed.semantic.ChainedEventListener parent,
long streamId,
java.lang.String streamName)
throws sofya.ed.semantic.FactoryException
- Specified by:
createEventListener
in interface sofya.ed.semantic.ChainedEventListenerFactory
- Throws:
sofya.ed.semantic.FactoryException