This is it, thanks!
On Tue, Nov 12, 2013 at 11:25 AM, Dmitry Gusev wrote:
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/ReloadAware.html
>
>
> On Tue, Nov 12, 2013 at 4:16 AM, Ilya Obshadko >wrote:
>
> > I have implemented ParallelExecutor for background mail sending.
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/ReloadAware.html
On Tue, Nov 12, 2013 at 4:16 AM, Ilya Obshadko wrote:
> I have implemented ParallelExecutor for background mail sending.
>
> However, there is a problem with live class reloading, because I have to
> stop the ol
I have implemented ParallelExecutor for background mail sending.
However, there is a problem with live class reloading, because I have to
stop the old instance of ParallelExecutor and start the new one. How do I
hook to class reload event? finalize() doesn't seem to work.
On Wed, Jun 19, 2013 at
There is the ParallelExecutor which is backed by a thread pool. Be warned,
the pool size is 3 by default (configurable via a symbol). The
ParallelExecutor will invoke PerThreadManager.cleanup() once your Runnable
completes to clean up the hibernate session and any PerThreadValue
instances.
On Wed, Jun 19, 2013 at 12:04 AM, Rural Hunter wrote:
> yes, that's what I thought of. But I would like to see if there is any
> other option in Tapestry.
>
There's a tool for each use case. I can not imagine a much better tool for
this case than a simple thread if the thread's lifetime is the sa
yes, that's what I thought of. But I would like to see if there is any
other option in Tapestry.
δΊ 2013/6/19 14:53, Kalle Korhonen ει:
Create a thread?
Kalle
On Tue, Jun 18, 2013 at 11:42 PM, Rural Hunter wrote:
Hi,
Is there a "best practice" to implement continuously/long-run background
Create a thread?
Kalle
On Tue, Jun 18, 2013 at 11:42 PM, Rural Hunter wrote:
> Hi,
>
> Is there a "best practice" to implement continuously/long-run background
> jobs in Tapestry? I know there is PeriodicExecutor but my requirement is to
> have the job run continuously in the background. It sho
Hi,
Is there a "best practice" to implement continuously/long-run background
jobs in Tapestry? I know there is PeriodicExecutor but my requirement is
to have the job run continuously in the background. It should start when
the application starts and end when the application ends.
---