• Post Reply Bookmark Topic Watch Topic
  • New Topic

TimerService getTimeRemaining negative !?  RSS feed

 
Jose Hidalgo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use

@Singleton
@AccessTimeout(value=13000)
public class MyService {

@Lock(LockType.WRITE)
@Schedule(second="0,15,30,45", minute="*", hour="*")
public void execute(Timer timer) {


But I get negative numbers with I call timer.getTimeRemaining, hows that possible ?

Thanks

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!