public class LocalSearchProfilerAdapter extends java.lang.Object implements ILocalSearchAdapter
ILocalSearchAdapter which capable of counting
each search operation execution then printing it in human readably form
(along with the executed plans) using toString()| Constructor and Description |
|---|
LocalSearchProfilerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
operationExecuted(SearchPlan plan,
ISearchOperation operation,
MatchingFrame frame,
boolean isSuccessful)
Callback method to indicate that an operation is executed
|
void |
patternMatchingStarted(LocalSearchMatcher lsMatcher)
Callback method to indicate the start of a matching process
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadapterRegistered, adapterUnregistered, duplicateMatchFound, executorInitializing, matchFound, noMoreMatchesAvailable, operationSelected, planChangedpublic void patternMatchingStarted(LocalSearchMatcher lsMatcher)
ILocalSearchAdapterpatternMatchingStarted in interface ILocalSearchAdapterlsMatcher - the local search matcher that starts the matchingpublic void operationExecuted(SearchPlan plan, ISearchOperation operation, MatchingFrame frame, boolean isSuccessful)
ILocalSearchAdapteroperationExecuted in interface ILocalSearchAdapterplan - the current planframe - the current matching frameisSuccessful - if true, the operation executed successfully, or false if the execution failed and backtracking will happenpublic java.lang.String toString()
toString in class java.lang.Object