/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | Delayed.java | 55 * given time unit. 57 * @param unit the time unit 61 long getDelay(TimeUnit unit); argument
|
H A D | CompletionService.java | 117 * <tt>unit</tt> 118 * @param unit a <tt>TimeUnit</tt> determining how to interpret the 125 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; argument
|
H A D | Future.java | 158 * @param unit the time unit of the timeout argument 167 V get(long timeout, TimeUnit unit) argument
|
H A D | ScheduledExecutorService.java | 104 * @param unit the time unit of the delay parameter 113 long delay, TimeUnit unit); 121 * @param unit the time unit of the delay parameter 128 long delay, TimeUnit unit); 146 * @param unit the time unit of the initialDelay and period parameters 158 TimeUnit unit); 173 * @param unit th 112 schedule(Runnable command, long delay, TimeUnit unit) argument 127 schedule(Callable<V> callable, long delay, TimeUnit unit) argument 155 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument 182 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument [all...] |
H A D | TransferQueue.java | 120 * {@code unit} 121 * @param unit a {@code TimeUnit} determining how to interpret the 134 boolean tryTransfer(E e, long timeout, TimeUnit unit) argument
|
H A D | AbstractExecutorService.java | 223 long timeout, TimeUnit unit) 225 return doInvokeAny(tasks, true, unit.toNanos(timeout)); 259 long timeout, TimeUnit unit) 261 if (tasks == null || unit == null) 263 long nanos = unit.toNanos(timeout); 222 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 258 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
|
H A D | BlockingQueue.java | 70 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 77 * <td>{@link #poll(long, TimeUnit) poll(time, unit)}</td> 241 * <tt>unit</tt> 242 * @param unit a <tt>TimeUnit</tt> determining how to interpret the 253 boolean offer(E e, long timeout, TimeUnit unit) argument 270 * <tt>unit</tt> 271 * @param unit a <tt>TimeUnit</tt> determining how to interpret the 277 E poll(long timeout, TimeUnit unit) argument
|
H A D | CountDownLatch.java | 274 * @param unit the time unit of the {@code timeout} argument 280 public boolean await(long timeout, TimeUnit unit) argument 282 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout));
|
H A D | ExecutorCompletionService.java | 200 public Future<V> poll(long timeout, TimeUnit unit) argument 202 return completionQueue.poll(timeout, unit);
|
H A D | ExecutorService.java | 209 * @param unit the time unit of the timeout argument 214 boolean awaitTermination(long timeout, TimeUnit unit) argument 307 * @param unit the time unit of the timeout argument 316 * unit are <tt>null</tt> 321 long timeout, TimeUnit unit) 356 * @param unit the time unit of the timeout argument 359 * @throws NullPointerException if tasks, or unit, o 320 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 367 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument [all...] |
H A D | CyclicBarrier.java | 410 * @param unit the time unit of the timeout parameter 423 public int await(long timeout, TimeUnit unit) argument 427 return dowait(true, unit.toNanos(timeout));
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | WatchService.java | 146 * how to wait before giving up, in units of unit 147 * @param unit 159 WatchKey poll(long timeout, TimeUnit unit) argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XPlotter.java | 35 Plotter.Unit unit) { 36 super(unit,0,false); 34 XPlotter(JTable table, Plotter.Unit unit) argument
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | Condition.java | 312 * boolean aMethod(long timeout, TimeUnit unit) { 313 * long nanos = unit.toNanos(timeout); 365 * awaitNanos(unit.toNanos(time)) > 0 368 * @param unit the time unit of the {@code time} argument 374 boolean await(long time, TimeUnit unit) throws InterruptedException; argument
|
H A D | Lock.java | 312 * @param unit the time unit of the {@code time} argument 320 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | CompletedFuture.java | 66 public T get(long timeout, TimeUnit unit) throws ExecutionException { argument
|
/openjdk7/jdk/test/java/nio/file/attribute/FileTime/ |
H A D | Basic.java | 74 for (TimeUnit unit: TimeUnit.values()) { 75 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); } 76 to(Long.MIN_VALUE, unit); 77 to(Long.MAX_VALUE, unit); 147 static void to(long v, TimeUnit unit) { argument 148 FileTime t = FileTime.from(v, unit); 151 long expected = u.convert(v, unit); 158 static void ts(long v, TimeUnit unit, String expected) { argument 159 String result = FileTime.from(v, unit).toString(); 161 System.err.format("FileTime.from(%d, %s).toString() failed\n", v, unit); [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | PlotterPanel.java | 37 public PlotterPanel(String labelStr, Plotter.Unit unit, boolean collapsible) { argument 38 super(labelStr, new Plotter(unit), collapsible);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | CompletedFuture.java | 74 public V get(long timeout, TimeUnit unit) throws ExecutionException { argument 75 if (unit == null)
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousChannelGroup.java | 333 * @param unit 334 * The time unit of the timeout argument 342 public abstract boolean awaitTermination(long timeout, TimeUnit unit) argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/concurrent/ |
H A D | LibDispatchSerialQueue.java | 86 public boolean awaitTermination(final long timeout, final TimeUnit unit) throws InterruptedException { argument 89 final long millis = unit.toMillis(timeout);
|
/openjdk7/langtools/src/share/classes/com/sun/source/util/ |
H A D | TreePath.java | 40 * Gets a tree path for a tree node within a compilation unit. 43 public static TreePath getPath(CompilationUnitTree unit, Tree target) { argument 44 return getPath(new TreePath(unit), target); 100 * Get the compilation unit associated with this path.
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/monitoring/ |
H A D | StatisticsAccumulator.java | 65 protected String unit; field in class:StatisticsAccumulator 112 return "Minimum Value = " + min + " " + unit + " " + 113 "Maximum Value = " + max + " " + unit + " " + 114 "Average Value = " + computeAverage() + " " + unit + " " + 115 "Standard Deviation = " + computeStandardDeviation() + " " + unit + 141 * Construct the Statistics Accumulator by providing the unit as a String. 151 * @param unit a String representing the units for the samples collected 154 public StatisticsAccumulator( String unit ) { 155 this.unit = unit; [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/ |
H A D | BoundaryStatisticImpl.java | 49 String unit, String desc, long startTime, 51 super(name, unit, desc, startTime, sampleTime); 48 BoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime) argument
|
H A D | StringStatisticImpl.java | 48 public StringStatisticImpl(String str, String name, String unit, argument 50 super(name, unit, desc, startTime, sampleTime); 55 public StringStatisticImpl(String name, String unit, String desc) { argument 56 this("", name, unit, desc, System.currentTimeMillis(), System.currentTimeMillis());
|