Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using TimerHandle interface

 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4680
329
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confused about javax.ejb.TimeHandler interface

I understood how to use TimeHandler, but I don't know why should we use this interface. It just appears as a wrapper for Timer instances.

Can anyone explain this?
 
Ralph Jaus
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's designed for serializing timer objects. Note: TimerHandle extends java.io.Serializable while Timer does not.
 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one sight a practical scenario where the TimerHandle could be used ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic