public class TimerWrapper extends Object implements jakarta.ejb.Timer, com.sun.enterprise.container.common.spi.util.IndirectlySerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TimerWrapper.SerializedTimerWrapper
Used by serialization code to serialize a TimerWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
equals(Object o) |
jakarta.ejb.TimerHandle |
getHandle() |
Serializable |
getInfo() |
Date |
getNextTimeout() |
jakarta.ejb.ScheduleExpression |
getSchedule() |
com.sun.enterprise.container.common.spi.util.SerializableObjectFactory |
getSerializableObjectFactory() |
long |
getTimeRemaining() |
int |
hashCode() |
boolean |
isCalendarTimer() |
boolean |
isPersistent() |
String |
toString() |
public void cancel()
throws IllegalStateException,
jakarta.ejb.NoSuchObjectLocalException,
jakarta.ejb.EJBException
cancel in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBExceptionpublic long getTimeRemaining()
throws IllegalStateException,
jakarta.ejb.NoMoreTimeoutsException,
jakarta.ejb.NoSuchObjectLocalException
getTimeRemaining in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoMoreTimeoutsExceptionjakarta.ejb.NoSuchObjectLocalExceptionpublic Date getNextTimeout() throws IllegalStateException, jakarta.ejb.NoMoreTimeoutsException, jakarta.ejb.NoSuchObjectLocalException
getNextTimeout in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoMoreTimeoutsExceptionjakarta.ejb.NoSuchObjectLocalExceptionpublic Serializable getInfo() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException
getInfo in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionpublic jakarta.ejb.TimerHandle getHandle()
throws IllegalStateException,
jakarta.ejb.NoSuchObjectLocalException
getHandle in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionpublic jakarta.ejb.ScheduleExpression getSchedule()
throws IllegalStateException,
jakarta.ejb.NoSuchObjectLocalException,
jakarta.ejb.EJBException
getSchedule in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBExceptionpublic boolean isCalendarTimer()
throws IllegalStateException,
jakarta.ejb.NoSuchObjectLocalException,
jakarta.ejb.EJBException
isCalendarTimer in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBExceptionpublic boolean isPersistent()
throws IllegalStateException,
jakarta.ejb.NoSuchObjectLocalException,
jakarta.ejb.EJBException
isPersistent in interface jakarta.ejb.TimerIllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBExceptionpublic com.sun.enterprise.container.common.spi.util.SerializableObjectFactory getSerializableObjectFactory()
getSerializableObjectFactory in interface com.sun.enterprise.container.common.spi.util.IndirectlySerializableCopyright © 2017–2020 Eclipse Foundation. All rights reserved.