This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!