1 22 package org.jboss.test.timer.interfaces; 23 24 import java.io.Serializable ; 25 26 32 public interface TimerSLSB 33 extends javax.ejb.EJBObject 34 { 35 40 String INFO_EXEC_FAIL_COUNT = "ExecFailCount"; 41 42 43 49 String INFO_TASK_RUNTIME = "TaskRuntime"; 50 51 56 public byte[] startSingleTimer( long pPeriod ) 57 throws java.rmi.RemoteException ; 58 59 65 public byte[] startSingleTimer(long pPeriod, Serializable info) 66 throws java.rmi.RemoteException ; 67 68 73 public byte[] startTimer( long pPeriod ) 74 throws java.rmi.RemoteException ; 75 76 82 public byte[] startTimer( long pPeriod, Serializable info ) 83 throws java.rmi.RemoteException ; 84 85 public void stopTimer(byte[] handle) 86 throws java.rmi.RemoteException ; 87 88 public int getTimeoutCount(byte[] handle) 89 throws java.rmi.RemoteException ; 90 91 public java.util.Date getNextTimeout(byte[] handle) 92 throws java.rmi.RemoteException ; 93 94 public long getTimeRemaining(byte[] handle) 95 throws java.rmi.RemoteException ; 96 97 public Object getInfo(byte[] handle) 98 throws java.rmi.RemoteException ; 99 100 104 public long getRetryTimeoutPeriod() 105 throws java.rmi.RemoteException ; 106 107 } 108 | Popular Tags |