org.openorb.board

Interface ThreadManager

public interface ThreadManager

OpenORB Management Board / Thread Manager Interface

Author: Olivier Modica

Method Summary
voiddoDelayedUIWork(Plugin plugin, String methodName)
Delays a UI plugin class method to avoid blocking the event thread
voiddoDelayedUIWork(Plugin plugin, String methodName, Object[] args)
Delays a UI plugin class method with args to avoid blocking the event thread
voiddoDelayedUIWorks(Plugin plugin, String[] methodNames)
Delays UI plugin class methods to avoid blocking the event thread
voiddoDelayedUIWorks(Plugin plugin, String[] methodNames, Object[][] args)
Delays UI plugin class methods with args to avoid blocking the event thread
voiddoThreadedWork(Plugin plugin, String methodName, String notifyMethodName)
This methods threads a plugin class method and invokes a plugin class notify method when the thread returns.
voiddoThreadedWork(Plugin plugin, String methodName, Object[] methodArgs, String notifyMethodName, Object[] notifyMethodArgs)
This methods threads a plugin class method with args and invokes a plugin class notify method with args when the thread returns.
voiddoThreadedWorks(Plugin plugin, String[] methodNames, String notifyMethodName)
This methods threads plugin class methods and invoke a plugin class notify method when the thread returns.
voiddoThreadedWorks(Plugin plugin, String[] methodNames, Object[][] methodArgs, String notifyMethodName, Object[] notifyMethodArgs)
This methods threads plugin class methods with args method and invoke a plugin class notify method with args when the thread returns.

Method Detail

doDelayedUIWork

public void doDelayedUIWork(Plugin plugin, String methodName)
Delays a UI plugin class method to avoid blocking the event thread

doDelayedUIWork

public void doDelayedUIWork(Plugin plugin, String methodName, Object[] args)
Delays a UI plugin class method with args to avoid blocking the event thread

doDelayedUIWorks

public void doDelayedUIWorks(Plugin plugin, String[] methodNames)
Delays UI plugin class methods to avoid blocking the event thread

doDelayedUIWorks

public void doDelayedUIWorks(Plugin plugin, String[] methodNames, Object[][] args)
Delays UI plugin class methods with args to avoid blocking the event thread

doThreadedWork

public void doThreadedWork(Plugin plugin, String methodName, String notifyMethodName)
This methods threads a plugin class method and invokes a plugin class notify method when the thread returns.

doThreadedWork

public void doThreadedWork(Plugin plugin, String methodName, Object[] methodArgs, String notifyMethodName, Object[] notifyMethodArgs)
This methods threads a plugin class method with args and invokes a plugin class notify method with args when the thread returns.

doThreadedWorks

public void doThreadedWorks(Plugin plugin, String[] methodNames, String notifyMethodName)
This methods threads plugin class methods and invoke a plugin class notify method when the thread returns.

doThreadedWorks

public void doThreadedWorks(Plugin plugin, String[] methodNames, Object[][] methodArgs, String notifyMethodName, Object[] notifyMethodArgs)
This methods threads plugin class methods with args method and invoke a plugin class notify method with args when the thread returns.