Re: Timer gets stuck



On 7 Feb 2006 08:50:11 -0800, hagarwal@xxxxxxxxxxxxxxxxxx wrote,
quoted or indirectly quoted someone who said :

I initially thought that this was because I did not specify the timeout
in the my connection to the POP service, but aren't the subsequent
executions supposed to be independant of each other,

see http://mindprod.com/jgloss/timer.html

the tasks have to run sequentially. The whole point of a Timer is to
share a single expensive thread object.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: Java.net.SocketInputStream
    ... For the first read, it takes around 2 minutes, but for the subsequent ... In most cases the first responses are heavy and involves connection ... setup. ... The subsequent connections will reuse the connection hence are ...
    (comp.lang.java.programmer)
  • Re: First Connection Open Slow from ASP.Net
    ... Are you sure you have isolated this to the Sql Server connection itself? ... First requests to aspx and asmx pages are always slower than subsequent ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Tcp concurrent connection limit in sp2
    ... TCP connection attempts. ... After the limit has been reached, subsequent ... connection attempts are put in a queue and will be resolved at a fixed rate. ... occur, a new event, with ID 4226, appears in the system's event log." ...
    (microsoft.public.windowsxp.security_admin)