/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | DurationUnitTest.java | 64 * @param unitString for creating a duration unit 65 * @param unit for comparison 68 public void testGetUnit1(String unitString, DurationUnit unit) { argument 69 assertEquals(getUnit(unitString), unit); 73 * Tests that getUnit() throws an exception of non-duration unit strings
|
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | DurationUnitTest.java | 63 * @param unitString for creating a duration unit 64 * @param unit for comparison 67 public void testGetUnit1(String unitString, DurationUnit unit) { argument 68 assertEquals(getUnit(unitString), unit); 72 * Tests that getUnit() throws an exception of non-duration unit strings
|
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | DurationUnitTest.java | 64 * @param unitString for creating a duration unit 65 * @param unit for comparison 68 public void testGetUnit1(String unitString, DurationUnit unit) { argument 69 assertEquals(getUnit(unitString), unit); 73 * Tests that getUnit() throws an exception of non-duration unit strings
|
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | DurationUnitTest.java | 63 * @param unitString for creating a duration unit 64 * @param unit for comparison 67 public void testGetUnit1(String unitString, DurationUnit unit) { argument 68 assertEquals(getUnit(unitString), unit); 72 * Tests that getUnit() throws an exception of non-duration unit strings
|
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | DurationUnitTest.java | 64 * @param unitString for creating a duration unit 65 * @param unit for comparison 68 public void testGetUnit1(String unitString, DurationUnit unit) { argument 69 assertEquals(getUnit(unitString), unit); 73 * Tests that getUnit() throws an exception of non-duration unit strings
|
/forgerock/openam-v13/openam-audit/openam-audit-context/src/main/java/org/forgerock/openam/audit/context/ |
H A D | AuditRequestContextPropagatingScheduledExecutorService.java | 47 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument 48 return ((ScheduledExecutorService) delegate).schedule(wrap(command), delay, unit); 55 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument 56 return ((ScheduledExecutorService) delegate).schedule(wrap(callable), delay, unit); 63 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument 64 return ((ScheduledExecutorService) delegate).scheduleAtFixedRate(wrap(command), initialDelay, period, unit); 71 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument 72 return ((ScheduledExecutorService) delegate).scheduleWithFixedDelay(wrap(command), initialDelay, delay, unit);
|
H A D | ExecutorServiceConfigurator.java | 91 * @param unit the time unit of the {@code time} argument 94 public void setKeepAliveTime(long time, TimeUnit unit) { argument 95 delegate.setKeepAliveTime(time, unit); 101 * @param unit the desired time unit of the result 105 public long getKeepAliveTime(TimeUnit unit) { argument 106 return delegate.getKeepAliveTime(unit);
|
H A D | AuditRequestContextPropagatingExecutorService.java | 94 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { argument 95 return delegate.awaitTermination(timeout, unit); 134 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 136 return delegate.invokeAll(wrapAll(tasks), timeout, unit); 151 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 153 return delegate.invokeAny(wrapAll(tasks), timeout, unit);
|
/forgerock/openam/openam-audit/openam-audit-context/src/main/java/org/forgerock/openam/audit/context/ |
H A D | AuditRequestContextPropagatingScheduledExecutorService.java | 47 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument 48 return ((ScheduledExecutorService) delegate).schedule(wrap(command), delay, unit); 55 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument 56 return ((ScheduledExecutorService) delegate).schedule(wrap(callable), delay, unit); 63 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument 64 return ((ScheduledExecutorService) delegate).scheduleAtFixedRate(wrap(command), initialDelay, period, unit); 71 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument 72 return ((ScheduledExecutorService) delegate).scheduleWithFixedDelay(wrap(command), initialDelay, delay, unit);
|
H A D | ExecutorServiceConfigurator.java | 91 * @param unit the time unit of the {@code time} argument 94 public void setKeepAliveTime(long time, TimeUnit unit) { argument 95 delegate.setKeepAliveTime(time, unit); 101 * @param unit the desired time unit of the result 105 public long getKeepAliveTime(TimeUnit unit) { argument 106 return delegate.getKeepAliveTime(unit);
|
/forgerock/opendj-v3/opendj-config/src/test/java/org/forgerock/opendj/config/ |
H A D | DurationUnitTest.java | 62 public void testGetUnit(String unitString, DurationUnit unit) { argument 63 assertEquals(getUnit(unitString), unit);
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OAuth2GlobalSettings.java | 94 * @param unit the desired time unit for the poll interval. 96 public long getBlacklistPollInterval(TimeUnit unit) { argument 97 return unit.convert(configuration.blacklistPollInterval, TimeUnit.SECONDS); 103 * @param unit the desired time unit for the purge delay. 105 public long getBlacklistPurgeDelay(TimeUnit unit) { argument 106 return unit.convert(configuration.blacklistPurgeDelay, TimeUnit.MINUTES);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | DiskSpaceMonitor.java | 72 private final TimeUnit unit; field in class:DiskSpaceMonitor 86 * @param unit the time unit of the interval parameter. 92 long fullThreshold, int interval, TimeUnit unit, 98 this.unit = unit; 194 scheduleUpdate(this, 0, interval, unit); 90 DiskSpaceMonitor(String instanceName, File directory, long lowThreshold, long fullThreshold, int interval, TimeUnit unit, DiskSpaceMonitorHandler handler) argument
|
/forgerock/opendj2/src/server/org/opends/server/api/ |
H A D | MonitorProvider.java | 198 * @param unit The time unit of the initialDelay and period 203 long period, TimeUnit unit) 212 period, unit); 201 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/opendj2/src/server/org/opends/server/extensions/ |
H A D | DiskSpaceMonitor.java | 71 private final TimeUnit unit; field in class:DiskSpaceMonitor 85 * @param unit the time unit of the interval parameter. 91 long fullThreshold, int interval, TimeUnit unit, 97 this.unit = unit; 193 scheduleUpdate(this, 0, interval, unit); 89 DiskSpaceMonitor(String instanceName, File directory, long lowThreshold, long fullThreshold, int interval, TimeUnit unit, DiskSpaceMonitorHandler handler) argument
|
/forgerock/opendj-b2.6/src/server/org/opends/server/api/ |
H A D | MonitorProvider.java | 199 * @param unit The time unit of the initialDelay and period 204 long period, TimeUnit unit) 213 period, unit); 202 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/opendj2.6.2/src/server/org/opends/server/api/ |
H A D | MonitorProvider.java | 199 * @param unit The time unit of the initialDelay and period 204 long period, TimeUnit unit) 213 period, unit); 202 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | DiskSpaceMonitor.java | 72 private final TimeUnit unit; field in class:DiskSpaceMonitor 86 * @param unit the time unit of the interval parameter. 92 long fullThreshold, int interval, TimeUnit unit, 98 this.unit = unit; 194 scheduleUpdate(this, 0, interval, unit); 90 DiskSpaceMonitor(String instanceName, File directory, long lowThreshold, long fullThreshold, int interval, TimeUnit unit, DiskSpaceMonitorHandler handler) argument
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/ |
H A D | DiskSpaceMonitor.java | 72 private final TimeUnit unit; field in class:DiskSpaceMonitor 86 * @param unit the time unit of the interval parameter. 92 long fullThreshold, int interval, TimeUnit unit, 98 this.unit = unit; 194 scheduleUpdate(this, 0, interval, unit); 90 DiskSpaceMonitor(String instanceName, File directory, long lowThreshold, long fullThreshold, int interval, TimeUnit unit, DiskSpaceMonitorHandler handler) argument
|
/forgerock/opendj2-hg/src/server/org/opends/server/api/ |
H A D | MonitorProvider.java | 198 * @param unit The time unit of the initialDelay and period 203 long period, TimeUnit unit) 212 period, unit); 201 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/ |
H A D | DiskSpaceMonitor.java | 71 private final TimeUnit unit; field in class:DiskSpaceMonitor 85 * @param unit the time unit of the interval parameter. 91 long fullThreshold, int interval, TimeUnit unit, 97 this.unit = unit; 193 scheduleUpdate(this, 0, interval, unit); 89 DiskSpaceMonitor(String instanceName, File directory, long lowThreshold, long fullThreshold, int interval, TimeUnit unit, DiskSpaceMonitorHandler handler) argument
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/api/ |
H A D | MonitorProvider.java | 199 * @param unit The time unit of the initialDelay and period 204 long period, TimeUnit unit) 213 period, unit); 202 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/api/ |
H A D | MonitorProvider.java | 185 * @param unit The time unit of the initialDelay and period 190 long period, TimeUnit unit) 196 scheduledFuture = SCHEDULER.scheduleAtFixedRate(updater, initialDelay, period, unit); 188 scheduleUpdate(Runnable updater, long initialDelay, long period, TimeUnit unit) argument
|
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/concurrency/ |
H A D | ResizableLinkedBlockingQueue.java | 136 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { argument 141 if (availablePlaces.tryAcquire(timeout, unit)) { 146 //If the queue.offer(e) fails, the availablePlaces.tryAcquire(timeout, unit) will still have occurred, 167 public E poll(long timeout, TimeUnit unit) throws InterruptedException { argument 168 E resultValue = super.poll(timeout, unit);
|
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/ |
H A D | TestTimer.java | 84 * @param unit 85 * the time unit for the duration 88 public Builder maxSleep(long time, TimeUnit unit) argument 91 this.maxSleepTimeInMillis = unit.toMillis(time); 100 * @param unit 101 * the time unit for the duration 104 public Builder sleepTimes(long time, TimeUnit unit) argument 107 this.sleepTimes = unit.toMillis(time);
|