Searched refs:period (Results 1 - 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimerTask.java | 81 long period = 0; field in class:TimerTask 154 return (period < 0 ? nextExecutionTime + period 155 : nextExecutionTime - period);
|
H A D | Timer.java | 214 * at approximately regular intervals separated by the specified period. 221 * lower than the reciprocal of the specified period (assuming the system 235 * @param period time in milliseconds between successive task executions. 238 * {@code period <= 0} 243 public void schedule(TimerTask task, long delay, long period) { argument 246 if (period <= 0) 247 throw new IllegalArgumentException("Non-positive period."); 248 sched(task, System.currentTimeMillis()+delay, -period); 254 * approximately regular intervals, separated by the specified period. 261 * lower than the reciprocal of the specified period (assumin 284 schedule(TimerTask task, Date firstTime, long period) argument 323 scheduleAtFixedRate(TimerTask task, long delay, long period) argument 366 scheduleAtFixedRate(TimerTask task, Date firstTime, long period) argument 386 sched(TimerTask task, long time, long period) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ScheduledExecutorService.java | 103 * period; that is, executions will commence after 104 * {@code initialDelay}, then {@code initialDelay + period}, then 105 * {@code initialDelay + 2 * period}, and so on. 121 * <p>If any execution of this task takes longer than its period, then 127 * @param period the period between successive executions 128 * @param unit the time unit of the initialDelay and period parameters 137 * @throws IllegalArgumentException if period less than or equal to zero 141 long period, 139 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument
|
H A D | ScheduledThreadPoolExecutor.java | 167 private final long period; field in class:ScheduledThreadPoolExecutor.ScheduledFutureTask 184 this.period = 0; 190 * trigger time and period. 193 long period, long sequenceNumber) { 196 this.period = period; 207 this.period = 0; 240 return period != 0; 247 long p = period; 561 long period, 192 ScheduledFutureTask(Runnable r, V result, long triggerTime, long period, long sequenceNumber) argument 559 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument [all...] |
H A D | Executors.java | 657 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument 658 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Timestamp.java | 187 int period = 0; 214 period = time_s.indexOf('.', secondColon+1); 244 if ((period > 0) & (period < time_s.length()-1)) { 246 Integer.parseInt(time_s.substring(secondColon+1, period)); 247 nanos_s = time_s.substring(period+1); 254 } else if (period > 0) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ArraysTest.java | 2119 int period = m; 2123 for (int k = 1; k <= period; k++) { 2129 period += m; 2131 for (int k = 1; k <= period; k++) { 2137 period += m;
|
Completed in 472 milliseconds