public class DBRequestProcessorFactory extends java.lang.Object
DBRequestProcessorinstances that schedule and execute long running operations on node based DBObjects.
The lifetime of a DBRequestProcessor depends on the state of the underlying Node. If the Node is open when the processor is first requested then that processor will automatically be shutdown (running jobs interrupted and scheduled jobs cancelled) when the node closes. If the Node is closed when the processor is first requested then the processor will shutdown again if it runs out of jobs (assuming the node remains closed). For this reason DBRequestProcessor instances should only be cached while the Node is guarenteed to be open (for example caching in an Editor plugin while installed is fine, as the Editor will close when the Node does).
|Constructor and Description|
|Modifier and Type||Method and Description|
Gets a RequestProcessor for performing long running operations on the DBObject represented by the given node.
public static DBRequestProcessor getProcessor(DBObjectNode node)
node- the node representing the object to work on (must not be null).