On 26/07/2012 13:13, Denis Signoretto wrote:
Hi guys,
About Synchronization Task I would like to know how Syncope works
and what's the expected behavior.
In particulare what's happen if I submit a Sync Task
Request while this an already started synch task under execution?
Submitted request it's queued or discarded ?
Hi Denis,
everything that gets asynchronous execution is currently handled by Quartz.
Every job in Syncope extends AbstractTaskJob [1] which in turns
implements Quartz's StatefulJob [2]: as you can read from there, "new
triggers that occur before the completion of the execute(xx) method will
be delayed."
Hence: queued.
And about tracing/logging of Task Executions.
Is there a cache (writes or reads) that can delay
logging Task Executions on console?
There isn't any cache of this kind: however, there is currently no
automatic refresh on console side to update such information. As you can
read from roadmap [3], such aspects will be fixed in next release 1.1.0.
Regards.
[1]
https://svn.apache.org/repos/asf/incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/scheduling/AbstractTaskJob.java
[2] http://quartz-scheduler.org/api/1.8.5/org/quartz/StatefulJob.html
[3] https://cwiki.apache.org/confluence/display/SYNCOPE/Roadmap
--
Francesco Chicchiriccò
ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/