Searched defs:duration (Results 1 - 4 of 4) sorted by relevance
/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/ |
H A D | TimerService.java | 61 * Create a single-action timer that expires after a specified duration. 63 * @param duration the number of milliseconds that must elapse before 71 * @exception java.lang.IllegalArgumentException If duration is negative 81 public Timer createTimer(long duration, Serializable info) throws argument 86 * Create a single-action timer that expires after a specified duration. 88 * @param duration the number of milliseconds that must elapse before 95 * @exception java.lang.IllegalArgumentException If duration is negative 106 public Timer createSingleActionTimer(long duration, TimerConfig timerConfig) throws argument 112 * duration, and whose subsequent expirations occur after a specified 148 * duration, an [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/ |
H A D | NanoDuration.java | 46 * Convert a nanosec duration into something readable 55 duration = new Duration(nsec / ((long)NSEC_PER_MILLISECOND)); 76 if(duration != null) 77 return duration.toString(); 106 private Duration duration; field in class:NanoDuration
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/ |
H A D | NotificationServiceTest.java | 142 sleep(int duration) { argument 144 Thread.sleep(duration);
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | EJBTimerServiceWrapper.java | 104 public Timer createTimer(long duration, Serializable info) argument 108 checkDuration(duration); 110 return createTimerInternal(duration, 0, info); 142 public Timer createSingleActionTimer(long duration, TimerConfig timerConfig) throws argument 146 checkDuration(duration); 148 return createTimerInternal(duration, 0, timerConfig); 337 private void checkDuration(long duration) argument 339 if( duration < 0 ) { 340 throw new IllegalArgumentException("invalid duration=" + duration); [all...] |
Completed in 6124 milliseconds