/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/blacklist/ |
H A D | CachingSessionBlacklist.java | 40 final TimeService clock) { 48 return eldestEntry.getValue() < clock.now() || super.removeEldestEntry(eldestEntry); 39 CachingSessionBlacklist(final SessionBlacklist delegate, final int maxSize, final long purgeDelayMs, final TimeService clock) argument
|
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/debug/ |
H A D | DebugFileProviderForTest.java | 29 * Debug file provider with an accelerate clock 34 private TimeService clock; field in class:DebugFileProviderForTest 39 this.clock = accelerateClock; 43 this.clock = accelerateClock; 49 debugFile = new DebugFileImpl(configuration, debugName, clock);
|
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/timeservice/ |
H A D | AccelerateTimeService.java | 34 The clock is incremented each time the "now" function is called. 35 By this way, we aren't dependent to the system clock anymore. 41 private AtomicLong clock; field in class:AccelerateTimeService 50 this.clock = new AtomicLong(initTime); 56 // Increment the clock 61 * Increment the accelerate clock 65 return clock.addAndGet(deltaTime);
|
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/ |
H A D | DebugFileProviderForTest.java | 29 * Debug file provider with an accelerate clock 34 private TimeService clock; field in class:DebugFileProviderForTest 39 this.clock = accelerateClock; 43 this.clock = accelerateClock; 49 debugFile = new DebugFileImpl(configuration, debugName, clock);
|
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/debug/ |
H A D | DebugFileProviderForTest.java | 29 * Debug file provider with an accelerate clock 34 private TimeService clock; field in class:DebugFileProviderForTest 39 this.clock = accelerateClock; 43 this.clock = accelerateClock; 49 debugFile = new DebugFileImpl(configuration, debugName, clock);
|
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/timeservice/ |
H A D | AccelerateTimeService.java | 34 The clock is incremented each time the "now" function is called. 35 By this way, we aren't dependent to the system clock anymore. 41 private AtomicLong clock; field in class:AccelerateTimeService 50 this.clock = new AtomicLong(initTime); 56 // Increment the clock 61 * Increment the accelerate clock 65 return clock.addAndGet(deltaTime);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/blacklist/ |
H A D | CachingBlacklist.java | 39 CachingBlacklist(Blacklist<T> delegate, int maxSize, long purgeDelayMs, final TimeService clock) { argument 47 return eldestEntry.getValue() < clock.now() || super.removeEldestEntry(eldestEntry);
|
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/ |
H A D | DebugFileProviderForTest.java | 29 * Debug file provider with an accelerate clock 34 private TimeService clock; field in class:DebugFileProviderForTest 39 this.clock = accelerateClock; 43 this.clock = accelerateClock; 49 debugFile = new DebugFileImpl(configuration, debugName, clock);
|
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/ |
H A D | DebugFileImpl.java | 64 private final TimeService clock; field in class:DebugFileImpl 99 * @param clock Clock used to generate date 101 public DebugFileImpl(DebugConfiguration configuration, String debugName, TimeService clock) { argument 103 this.clock = clock; 216 fileCreationTime = clock.now(); 282 return configuration.getRotationInterval() > 0 && nextRotation <= clock.now();
|
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/ |
H A D | DebugFileImpl.java | 64 private final TimeService clock; field in class:DebugFileImpl 99 * @param clock Clock used to generate date 101 public DebugFileImpl(DebugConfiguration configuration, String debugName, TimeService clock) { argument 103 this.clock = clock; 230 fileCreationTime = clock.now(); 303 return configuration.getRotationInterval() > 0 && nextRotation <= clock.now();
|