Searched defs:period (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DPoolCleaner.java35 final private long period; field in class:PoolCleaner
38 * @param period ms to wait between cleaning
41 public PoolCleaner(long period, Pool[] pools) { argument
43 this.period = period;
52 // Wait for duration of period ms
54 wait(period);
59 threshold = System.currentTimeMillis() - period;
/openjdk7/jdk/src/share/classes/java/util/
H A DTimerTask.java81 long period = 0; field in class:TimerTask
154 return (period < 0 ? nextExecutionTime + period
155 : nextExecutionTime - period);
H A DTimer.java214 * 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...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledExecutorService.java133 * period; that is executions will commence after
134 * <tt>initialDelay</tt> then <tt>initialDelay+period</tt>, then
135 * <tt>initialDelay + 2 * period</tt>, and so on.
140 * takes longer than its period, then subsequent executions
145 * @param period the period between successive executions
146 * @param unit the time unit of the initialDelay and period parameters
153 * @throws IllegalArgumentException if period less than or equal to zero
157 long period,
155 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument
H A DExecutors.java694 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument
695 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
H A DScheduledThreadPoolExecutor.java193 private final long period; field in class:ScheduledThreadPoolExecutor.ScheduledFutureTask
209 this.period = 0;
214 * Creates a periodic action with given nano time and period.
216 ScheduledFutureTask(Runnable r, V result, long ns, long period) { argument
219 this.period = period;
229 this.period = 0;
263 return period != 0;
270 long p = period;
557 long period,
555 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/monitor/
H A DMonitorMBean.java130 * Gets the granularity period (in milliseconds).
132 * @return The granularity period.
139 * Sets the granularity period (in milliseconds).
141 * @param period The granularity period.
143 * period is less than or equal to zero.
147 public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException; argument
H A DMonitor.java69 * granularity period. A gauge value (derived gauge) is derived from the values
132 * Monitor granularity period (in milliseconds).
627 * Gets the granularity period (in milliseconds).
628 * <BR>The default value of the granularity period is 10 seconds.
630 * @return The granularity period value.
639 * Sets the granularity period (in milliseconds).
640 * <BR>The default value of the granularity period is 10 seconds.
642 * @param period The granularity period value.
644 * period i
648 setGranularityPeriod(long period) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DClientCommunicatorAdmin.java37 public ClientCommunicatorAdmin(long period) { argument
38 this.period = period;
40 if (period > 0) {
174 Thread.sleep(period);
237 private long period; field in class:ClientCommunicatorAdmin
/openjdk7/jdk/src/share/classes/javax/management/timer/
H A DTimerMBean.java54 * according to its period and remaining number of occurrences.
68 * period and number of occurrences.
74 * subsequent ones are spaced as specified by the period parameter.
77 * its associated date, period and number of occurrences cannot be updated.
86 * @param period The period of the timer notification (in milliseconds).
97 * the period or the number of occurrences is negative.
103 // Date date, long period, long nbOccurences)
107 Date date, long period, long nbOccurences, boolean fixedRate)
113 * period an
106 addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) argument
147 addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences) argument
182 addNotification(String type, String message, Object userData, Date date, long period) argument
[all...]
H A DTimer.java129 * with the associated date, period and number of occurrences.
271 * according to its period and remaining number of occurrences.
385 * period and number of occurrences.
391 * subsequent ones are spaced as specified by the period parameter.
394 * its associated date, period and number of occurrences cannot be updated.
403 * @param period The period of the timer notification (in milliseconds).
414 * the period or the number of occurrences is negative.
420 // Date date, long period, long nbOccurences)
424 Date date, long period, lon
423 addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) argument
568 addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences) argument
606 addNotification(String type, String message, Object userData, Date date, long period) argument
[all...]
/openjdk7/jdk/test/java/util/Timer/
H A DArgs.java40 void schedule(final Timer t, final TimerTask task, final Date d, final long period) { argument
41 t.schedule(task, d, period);
43 new F(){void f(){ t.schedule(task, d, period); }});
46 void scheduleAtFixedRate(final Timer t, final TimerTask task, final Date d, final long period) { argument
47 t.scheduleAtFixedRate(task, d, period);
49 new F(){void f(){ t.scheduleAtFixedRate(task, d, period); }});
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DPollingWatchService.java284 void enable(Set<? extends WatchEvent.Kind<?>> events, long period) { argument
292 .scheduleAtFixedRate(thunk, period, period, TimeUnit.SECONDS);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DQuartzSurfaceData.h63 CGFloat period; // of the cycle (used by the cyclic gradient) member in struct:_stateShadingInfo
/openjdk7/jdk/src/share/classes/javax/management/remote/rmi/
H A DRMIConnector.java1462 public RMIClientCommunicatorAdmin(long period) { argument
1463 super(period);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Toolkit.h328 // the specified period.
337 static inline UINT CalculateWave(UINT value, const UINT period) { argument
338 if (period < 2) {
341 // -2 is necessary to avoid repeating extreme values (0 and period-1)
342 value %= period * 2 -2;
343 if (value >= period) {
344 value = period * 2 -2 - value;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DNames.java61 public final Name period; field in class:Names
171 period = fromString(".");

Completed in 121 milliseconds