----- Original Message -----
From: "Peter Donald" <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 2:46 AM


> At 01:58  21/3/01 -0800, Harmeet Bedi wrote:
> yay python ! ;)

python rocks. :-)

>
> >Got error response back. Modified code to dump stack trace.
> >Here are the interesting stack traces.
> >-----------------------------------------
> >java.lang.ArrayIndexOutOfBoundsException
> >at
org.apache.avalon.util.BinaryHeap.percolateUpMinHeap(BinaryHeap.java:209)
>
> this has been fixed by Ram just recently. I will update the jars to AValon
> as appropriate.

I looked at the diffs, could not understand how it was fixed, but I will try
again.

> >JDK/Doug Lea Trigger mechanism is very different from Avalon. Should
Avalon
> >move and potentially reuse their model ?
>
> actually there model is identical. If you look at the javadocs they use a
> binary heap aswell and have all the same features (ie can scale to
thousands).

The interface seem to be different. JDK Timer class does not seem
to have an equivalent of TimeTrigger interface. The implemention seems to be
similar not the API. :-(
JDK seems to have the TimeTrigger functionality rolled into their
scheduler - Timer object.

> >What Worked
> >==========
>
> JDK1.3 is currently not allowed because we want to keep compatible with
> with 1.2.

One could take the JDK 1.3 Timer classes and use them with 1.2 VM, either as
is or in a different package. So I think it should be possible to do this in
JDK 1.2.


> >P.S: Request - I would appreciate if someone adds the modifications to
> >PeriodicTimer. This solves a relibility problem for me. The changes to
> >PeriodicTimer would allow me to plugin into the current codebase cleanly.
>
> You never sent this - even in the second email ;)

Here is the addition to PeriodicTimer that would help a lot.
     public long getStartTime()
     {
         return m_startTime;
     }

     public long getPeriod()
     {
         return m_period;
     }

Would appreciate if someone could make these changes.
thanks,
Harmeet



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to