org.jboss.test.timer.interfaces
Interface TimerEntity
- All Superinterfaces:
- EJBObject (src) , java.rmi.Remote
- public interface TimerEntity
- extends EJBObject (src)
startSingleTimer
public void startSingleTimer(long pPeriod)
throws java.rmi.RemoteException
- Start a single timer (if not already set) with the start date plus the period
- Parameters:
pPeriod
- Time that will elapse between now and the timed event in milliseconds
- Throws:
java.rmi.RemoteException
startTimer
public void startTimer(long pPeriod)
throws java.rmi.RemoteException
- Start a timer (if not already set) with the start date plus the period and an interval of the given period
- Parameters:
pPeriod
- Time that will elapse between two events in milliseconds
- Throws:
java.rmi.RemoteException
stopTimer
public void stopTimer()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getTimeoutCount
public int getTimeoutCount()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getNextTimeout
public java.util.Date getNextTimeout()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getTimeRemaining
public long getTimeRemaining()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getInfo
public java.lang.Object getInfo()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getTimerHandle
public TimerHandle (src) getTimerHandle()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException