/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);
|
/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/opendj2/src/server/org/opends/server/admin/ |
H A D | DurationUnit.java | 43 * A day unit. 48 * An hour unit. 53 * A millisecond unit. 58 * A minute unit. 63 * A second unit. 68 * A week unit. 72 // A lookup table for resolving a unit from its name. 77 for (DurationUnit unit : DurationUnit.values()) { 78 nameToUnit.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 43 * A byte unit. 48 * A gibi-byte unit. 53 * A giga-byte unit. 58 * A kibi-byte unit. 63 * A kilo-byte unit. 68 * A mebi-byte unit. 73 * A mega-byte unit. 78 * A tebi-byte unit. 83 * A tera-byte unit. 87 // A lookup table for resolving a unit fro [all...] |
H A D | DurationPropertyDefinition.java | 42 * <li>a <i>base unit</i> - specifies the minimum granularity which 44 * the base unit is in seconds then values represented in milliseconds 45 * will not be permitted. The default base unit is seconds 46 * <li>an optional <i>maximum unit</i> - specifies the biggest 47 * duration unit which can be used to specify duration property 48 * values. Values presented in units greater than this unit will not 49 * be permitted. There is no default maximum unit 63 * the base unit defined for the duration property definition. 70 // The base unit for this property definition. 73 // The optional maximum unit fo 137 setBaseUnit(String unit) argument 156 setBaseUnit(DurationUnit unit) argument 187 setMaximumUnit(String unit) argument 209 setMaximumUnit(DurationUnit unit) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/admin/ |
H A D | DurationUnit.java | 44 * A day unit. 49 * An hour unit. 54 * A millisecond unit. 59 * A minute unit. 64 * A second unit. 69 * A week unit. 73 // A lookup table for resolving a unit from its name. 78 for (DurationUnit unit : DurationUnit.values()) { 79 nameToUnit.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 44 * A byte unit. 49 * A gibi-byte unit. 54 * A giga-byte unit. 59 * A kibi-byte unit. 64 * A kilo-byte unit. 69 * A mebi-byte unit. 74 * A mega-byte unit. 79 * A tebi-byte unit. 84 * A tera-byte unit. 88 // A lookup table for resolving a unit fro [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/admin/ |
H A D | DurationUnit.java | 44 * A day unit. 49 * An hour unit. 54 * A millisecond unit. 59 * A minute unit. 64 * A second unit. 69 * A week unit. 73 // A lookup table for resolving a unit from its name. 78 for (DurationUnit unit : DurationUnit.values()) { 79 nameToUnit.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 44 * A byte unit. 49 * A gibi-byte unit. 54 * A giga-byte unit. 59 * A kibi-byte unit. 64 * A kilo-byte unit. 69 * A mebi-byte unit. 74 * A mega-byte unit. 79 * A tebi-byte unit. 84 * A tera-byte unit. 88 // A lookup table for resolving a unit fro [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/admin/ |
H A D | DurationUnit.java | 43 * A day unit. 48 * An hour unit. 53 * A millisecond unit. 58 * A minute unit. 63 * A second unit. 68 * A week unit. 72 // A lookup table for resolving a unit from its name. 77 for (DurationUnit unit : DurationUnit.values()) { 78 nameToUnit.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 43 * A byte unit. 48 * A gibi-byte unit. 53 * A giga-byte unit. 58 * A kibi-byte unit. 63 * A kilo-byte unit. 68 * A mebi-byte unit. 73 * A mega-byte unit. 78 * A tebi-byte unit. 83 * A tera-byte unit. 87 // A lookup table for resolving a unit fro [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/ |
H A D | DurationUnit.java | 44 * A day unit. 49 * An hour unit. 54 * A millisecond unit. 59 * A minute unit. 64 * A second unit. 69 * A week unit. 73 // A lookup table for resolving a unit from its name. 78 for (DurationUnit unit : DurationUnit.values()) { 79 nameToUnit.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 44 * A byte unit. 49 * A gibi-byte unit. 54 * A giga-byte unit. 59 * A kibi-byte unit. 64 * A kilo-byte unit. 69 * A mebi-byte unit. 74 * A mega-byte unit. 79 * A tebi-byte unit. 84 * A tera-byte unit. 88 // A lookup table for resolving a unit fro [all...] |
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/ |
H A D | DurationUnit.java | 39 /** A day unit. */ 42 /** An hour unit. */ 45 /** A millisecond unit. */ 48 /** A minute unit. */ 51 /** A second unit. */ 54 /** A week unit. */ 57 /** A lookup table for resolving a unit from its name. */ 61 for (DurationUnit unit : DurationUnit.values()) { 62 NAME_TO_UNIT.put(unit.shortName, unit); [all...] |
H A D | SizeUnit.java | 39 /** A byte unit. */ 42 /** A gibi-byte unit. */ 45 /** A giga-byte unit. */ 48 /** A kibi-byte unit. */ 51 /** A kilo-byte unit. */ 54 /** A mebi-byte unit. */ 57 /** A mega-byte unit. */ 60 /** A tebi-byte unit. */ 63 /** A tera-byte unit. */ 66 /** A lookup table for resolving a unit fro [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/dsconfig/ |
H A D | PropertyValuePrinter.java | 59 // The requested size unit (null if the property's unit should be 63 // The requested time unit (null if the property's unit should be 127 // Use either the specified unit or the property definition's 128 // base unit. 129 DurationUnit unit = timeUnit; 130 if (unit == null) { 131 unit = pd.getBaseUnit(); 134 builder.append(numberFormat.format(unit [all...] |
/forgerock/opendj2/src/server/org/opends/server/tools/dsconfig/ |
H A D | PropertyValuePrinter.java | 58 // The requested size unit (null if the property's unit should be 62 // The requested time unit (null if the property's unit should be 126 // Use either the specified unit or the property definition's 127 // base unit. 128 DurationUnit unit = timeUnit; 129 if (unit == null) { 130 unit = pd.getBaseUnit(); 133 builder.append(numberFormat.format(unit [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/dsconfig/ |
H A D | PropertyValuePrinter.java | 59 // The requested size unit (null if the property's unit should be 63 // The requested time unit (null if the property's unit should be 127 // Use either the specified unit or the property definition's 128 // base unit. 129 DurationUnit unit = timeUnit; 130 if (unit == null) { 131 unit = pd.getBaseUnit(); 134 builder.append(numberFormat.format(unit [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/dsconfig/ |
H A D | PropertyValuePrinter.java | 59 // The requested size unit (null if the property's unit should be 63 // The requested time unit (null if the property's unit should be 127 // Use either the specified unit or the property definition's 128 // base unit. 129 DurationUnit unit = timeUnit; 130 if (unit == null) { 131 unit = pd.getBaseUnit(); 134 builder.append(numberFormat.format(unit [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/tools/dsconfig/ |
H A D | PropertyValuePrinter.java | 58 // The requested size unit (null if the property's unit should be 62 // The requested time unit (null if the property's unit should be 126 // Use either the specified unit or the property definition's 127 // base unit. 128 DurationUnit unit = timeUnit; 129 if (unit == null) { 130 unit = pd.getBaseUnit(); 133 builder.append(numberFormat.format(unit [all...] |
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/ |
H A D | PropertyValuePrinter.java | 54 * The requested size unit (null if the property's unit should be used). 59 * The requested time unit (null if the property's unit should be used). 102 // Use either the specified unit or the property definition's 103 // base unit. 104 DurationUnit unit = timeUnit; 105 if (unit == null) { 106 unit = pd.getBaseUnit(); 109 builder.append(numberFormat.format(unit [all...] |
/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);
|
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-base/src/main/java/com/sun/identity/diagnostic/base/services/systeminfo/ |
H A D | SystemInfoProvider.java | 189 String unit = st.nextToken(); 198 if (unit.startsWith("M") || unit.startsWith("m")) { 200 } else if (unit.startsWith("K") || unit.startsWith("k")) { 202 } else if (unit.startsWith("T") || unit.startsWith("t")) {
|