er.extensions.concurrency
Class ERXRunnable
java.lang.Object
er.extensions.concurrency.ERXRunnable
- All Implemented Interfaces:
- Runnable
public abstract class ERXRunnable
- extends Object
- implements Runnable
ERXRunnable provides support for cleaning up editing context
locks at the end of your thread's run() method just like the
behavior at the end of a normal R-R loop.
- Author:
- mschrag
|
Method Summary |
abstract void |
_run()
Override _run to provide your Thread's implementation. |
void |
run()
Do not override run like implementing Runnable
directly. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERXRunnable
public ERXRunnable()
run
public void run()
- Do not override run like implementing Runnable
directly. Instead, override _run. The run
method in ERXRunnable makes your _run method
appear to be in a request, and cleans up
resources at the end of the request.
- Specified by:
run in interface Runnable
_run
public abstract void _run()
- Override _run to provide your Thread's implementation.
Copyright © 2002 – 2007 Project Wonder.