posted 8 years ago
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