incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gómez Ferro (JIRA) <>
Subject [jira] [Updated] (S4-63) onTime() events are not synchronized correctly
Date Fri, 22 Jun 2012 12:55:42 GMT


Daniel Gómez Ferro updated S4-63:

    Attachment: S4-63-synchronize-onTime-events.patch

This patch fixes the synchronization issue and adds a test case to guard against regressions.

I'm adding a dependency on Mockito for tests, and I'm adding a couple of void modules (BareCoreModule,
BareCommModule) to make it easy to test components without the Comm layer.
> onTime() events are not synchronized correctly
> ----------------------------------------------
>                 Key: S4-63
>                 URL:
>             Project: Apache S4
>          Issue Type: Bug
>            Reporter: Daniel Gómez Ferro
>         Attachments: S4-63-synchronize-onTime-events.patch
> onTime() events are executed by a separate thread and are not synchronized correctly
with the rest of events, since ProcessingElement.OnTimerTask's run() method synchronizes on
"this" (the thread object) instead of the PE instance.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message