Project Wonder 5.0

er.extensions.concurrency
Class ERXTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by er.extensions.concurrency.ERXTimerTask
All Implemented Interfaces:
java.lang.Runnable

public abstract class ERXTimerTask
extends java.util.TimerTask

ERXTimerTask provides support for cleaning up editing context locks at the end of your task's run() method just like the behavior at the end of a normal R-R loop.

Author:
q

Constructor Summary
ERXTimerTask()
           
 
Method Summary
abstract  void _run()
          Override _run to provide your Task's implementation.
 void run()
          Do not override run like implementing TimeTask directly.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXTimerTask

public ERXTimerTask()
Method Detail

run

public final void run()
Do not override run like implementing TimeTask directly. Instead, override _run. The run method in ERXTimeTask 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 java.lang.Runnable
Specified by:
run in class java.util.TimerTask

_run

public abstract void _run()
Override _run to provide your Task's implementation.


Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.