[kepler-dev] updating Manager
Christopher Brooks
cxh at eecs.berkeley.edu
Wed Apr 14 12:36:14 PDT 2010
Thanks, I updated the javadocs.
Is it ok if I change getThrowableExecutionId() to getExecutionId()?
The reason is because we have setExecutionId() and the getter and
setter should match. Also, I'm not that excited about "Id", so
I changed it to Identifier.
I'd be happier if I had a test case that illustrates the problem,
but understand why fabricating one would be difficult.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4230
sums up the problem.
I checked in an updated version to the ptII head and the
rel-8-0-beta-2 branch. I also updated the
ptolemy*/module-info/revision.txt files.
_Christopher
On 4/14/10 11:23 AM, Daniel Crawl wrote:
>
> Hi Christopher,
>
> Thanks for taking a look.
>
> An executionID is an object given to the Manager via
> setExecutionId(), and cleared during preinitialize.
> If the Manager notifies a listener of a model error,
> getExecutionId() can be used to map that error back
> to the executionID object.
>
> --dan
>
>
> On 4/14/10 7:17 AM, Christopher Brooks wrote:
>> Hi Dan,
>> Looks good. Can you give me a definition of an executionID
>> that makes sense in the context of Ptolemy? In otherwords,
>> if I'm a Ptolemy developer, and I stumble across
>> setExecutionId(), then what is an executionID? How
>> could I use it?
>>
>> Thanks,
>>
>> _Christopher
>>
>> On 4/13/10 6:36 PM, Daniel Crawl wrote:
>>>
>>> Hi Christopher,
>>>
>>> I'm working on bug 4230. The issue is that the Manager notifies
>>> listeners of model errors asynchronously to avoid deadlocks.
>>> However, this makes it impossible for a listener to associate
>>> a specific execution cycle with a given error.
>>>
>>> The attached patch updates the Manager so that listeners can
>>> make this association. I'd appreciate it if you could take a
>>> look for any obvious problems. I've run the ptolemy test suite
>>> and no new failures occurred.
>>>
>>> Thanks,
>>>
>>> --dan
>>
>
--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
More information about the Kepler-dev
mailing list