public interface Timer
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
TimerHandle |
getHandle() |
Serializable |
getInfo() |
Date |
getNextTimeout() |
ScheduleExpression |
getSchedule() |
long |
getTimeRemaining() |
boolean |
isCalendarTimer() |
boolean |
isPersistent() |
void cancel() throws EJBException, IllegalStateException, NoSuchObjectLocalException
long getTimeRemaining() throws EJBException, IllegalStateException, NoSuchObjectLocalException, NoMoreTimeoutsException
Date getNextTimeout() throws EJBException, IllegalStateException, NoSuchObjectLocalException, NoMoreTimeoutsException
Serializable getInfo() throws EJBException, IllegalStateException, NoSuchObjectLocalException
TimerHandle getHandle() throws EJBException, IllegalStateException, NoSuchObjectLocalException
ScheduleExpression getSchedule() throws EJBException, IllegalStateException, NoSuchObjectLocalException
boolean isPersistent() throws EJBException, IllegalStateException, NoSuchObjectLocalException
boolean isCalendarTimer() throws EJBException, IllegalStateException, NoSuchObjectLocalException
Copyright © 2023. All rights reserved.