Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36666

Re: timer task(s) with parameters

From newsgroups <pippo.pluto@disney.com>
Newsgroups comp.lang.java.programmer
Subject Re: timer task(s) with parameters
Date 2017-05-30 14:05 +0200
Organization Aioe.org NNTP Server
Message-ID <ogjn5k$4gl$1@gioia.aioe.org> (permalink)
References <ogjle5$1fq$1@gioia.aioe.org> <ogjmg5$49b$1@dont-email.me>

Show all headers | View raw


On 05/30/2017 01:57 PM, Eric Sosman wrote:
>      Because messageToShow is `static', it belongs to the entire
> class as a whole.  There is only one messageToShow, no matter how
> many SchedulaaAllarme objects you create; they all share the same
> messageToShow value.  So ...
BINGO !
Thank you !
1 scheduled for:2017/05/30 14:03:20 [first]
2 scheduled for:2017/05/30 14:03:35 [second]
---->run @ Tue May 30 14:03:20 CEST 2017 ->first
---->run @ Tue May 30 14:03:35 CEST 2017 ->second
---->run @ Tue May 30 14:03:42 CEST 2017 ->first
---->run @ Tue May 30 14:03:57 CEST 2017 ->second

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

timer task(s) with parameters newsgroups <pippo.pluto@disney.com> - 2017-05-30 13:35 +0200
  Re: timer task(s) with parameters Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-05-30 07:57 -0400
    Re: timer task(s) with parameters newsgroups <pippo.pluto@disney.com> - 2017-05-30 14:05 +0200
    Re: timer task(s) with parameters Robert Klemme <shortcutter@googlemail.com> - 2017-05-31 07:50 +0200

csiph-web