org.modeshape.graph.search
Class SearchEngineProcessor
java.lang.Object
org.modeshape.graph.request.processor.RequestProcessor
org.modeshape.graph.search.SearchEngineProcessor
public abstract class SearchEngineProcessor
- extends RequestProcessor
The processor that is created by the provider whenever a logical set of activities needs to be performed.
Field Summary |
protected boolean |
rollback
|
Method Summary |
void |
close()
Close this processor, allowing it to clean up any open resources. |
protected abstract void |
commit()
Subclasses should implement this method to commit and save any work that has been done with this processor. |
void |
markForRollback()
|
protected abstract void |
rollback()
Subclasses should implement this method to throw away any work that has been done with this processor. |
Methods inherited from class org.modeshape.graph.request.processor.RequestProcessor |
absoluteMaximumDepthForBranchReads, completeRequest, getChanges, getDefaultCachePolicy, getExecutionContext, getNowInUtc, getSourceName, includeChildrenInSubgraph, notifyObserverOfChanges, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, process, processUnknownRequest, recordChange, setCacheableInfo, setCacheableInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rollback
protected boolean rollback
SearchEngineProcessor
protected SearchEngineProcessor(String sourceName,
ExecutionContext context,
Observer observer,
DateTime now)
- Parameters:
sourceName
- context
- observer
- now
-
markForRollback
public void markForRollback()
close
public void close()
- Close this processor, allowing it to clean up any open resources.
- Overrides:
close
in class RequestProcessor
- See Also:
RequestProcessor.close()
rollback
protected abstract void rollback()
- Subclasses should implement this method to throw away any work that has been done with this processor.
commit
protected abstract void commit()
- Subclasses should implement this method to commit and save any work that has been done with this processor.
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.