Searched defs:timeout (Results 1 - 25 of 221) sorted by relevance

123456789

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java57 * The task is expected to complete quickly and the timeout is set
73 * @param timeout The number of seconds to wait for the task to complete.
76 protected void testTask(Entry taskEntry, TaskState expectedState, int timeout) argument
120 if (System.currentTimeMillis() - startMillisecs > 1000*timeout)
130 fail("The task had not completed after " + timeout + " seconds.");
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java56 * The task is expected to complete quickly and the timeout is set
72 * @param timeout The number of seconds to wait for the task to complete.
75 protected void testTask(Entry taskEntry, TaskState expectedState, int timeout) argument
119 if (System.currentTimeMillis() - startMillisecs > 1000*timeout)
129 fail("The task had not completed after " + timeout + " seconds.");
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java57 * The task is expected to complete quickly and the timeout is set
73 * @param timeout The number of seconds to wait for the task to complete.
76 protected void testTask(Entry taskEntry, TaskState expectedState, int timeout) argument
120 if (System.currentTimeMillis() - startMillisecs > 1000*timeout)
130 fail("The task had not completed after " + timeout + " seconds.");
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java56 * The task is expected to complete quickly and the timeout is set
72 * @param timeout The number of seconds to wait for the task to complete.
75 protected void testTask(Entry taskEntry, TaskState expectedState, int timeout) argument
119 if (System.currentTimeMillis() - startMillisecs > 1000*timeout)
129 fail("The task had not completed after " + timeout + " seconds.");
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java57 * The task is expected to complete quickly and the timeout is set
73 * @param timeout The number of seconds to wait for the task to complete.
76 protected void testTask(Entry taskEntry, TaskState expectedState, int timeout) argument
120 if (System.currentTimeMillis() - startMillisecs > 1000*timeout)
130 fail("The task had not completed after " + timeout + " seconds.");
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/packet/
H A DIdleTimeoutAttribute.java44 * The timeout value.
46 private int timeout = 0; field in class:IdleTimeoutAttribute
55 timeout = OctetUtils.toIntVal(octets);
59 * Construct an instance from the desired timeout value.
61 * @param timeout the desired timeout
63 public IdleTimeoutAttribute(int timeout) { argument
64 super(OctetUtils.toOctets(AttributeType.IDLE_TIMEOUT, timeout));
65 this.timeout = timeout;
[all...]
H A DSessionTimeoutAttribute.java47 private int timeout = 0; field in class:SessionTimeoutAttribute
57 timeout = OctetUtils.toIntVal(octets);
63 * @param timeout the maximum number of seconds of service.
65 public SessionTimeoutAttribute(int timeout) { argument
66 super(OctetUtils.toOctets(AttributeType.SESSION_TIMEOUT, timeout));
67 this.timeout = timeout;
71 * Returns the timeout value in seconds.
72 * @return the timeout value.
75 return this.timeout;
[all...]
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/timeouts/
H A DObservedContextFactoryTest.java71 private void setTimeout(int timeout) { argument
73 .withTimeout(timeout, TimeUnit.SECONDS).build());
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/
H A DIURLFailoverHelper.java47 long timeout,
44 initialize( boolean probeEnabled, boolean isPrioritized, long timeout, String[] urlList, Map<String, Set<String>> conditionalUrls) argument
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/packet/
H A DIdleTimeoutAttribute.java44 * The timeout value.
46 private int timeout = 0; field in class:IdleTimeoutAttribute
55 timeout = OctetUtils.toIntVal(octets);
59 * Construct an instance from the desired timeout value.
61 * @param timeout the desired timeout
63 public IdleTimeoutAttribute(int timeout) { argument
64 super(OctetUtils.toOctets(AttributeType.IDLE_TIMEOUT, timeout));
65 this.timeout = timeout;
[all...]
H A DSessionTimeoutAttribute.java47 private int timeout = 0; field in class:SessionTimeoutAttribute
57 timeout = OctetUtils.toIntVal(octets);
63 * @param timeout the maximum number of seconds of service.
65 public SessionTimeoutAttribute(int timeout) { argument
66 super(OctetUtils.toOctets(AttributeType.SESSION_TIMEOUT, timeout));
67 this.timeout = timeout;
71 * Returns the timeout value in seconds.
72 * @return the timeout value.
75 return this.timeout;
[all...]
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/timeouts/
H A DObservedContextFactoryTest.java71 private void setTimeout(int timeout) { argument
73 .withTimeout(timeout, TimeUnit.SECONDS).build());
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java120 public AckMsg createAck(boolean timeout) argument
124 if (timeout)
H A DExpectedAcksInfo.java65 * timeout task or the code for processing an ack for the matching update
67 * acks is completed or an ack timeout has occurred and we are going to
84 * If the timeout occurs for the original update, we call createAck(true)
85 * in the timeout code for sending back an error ack to the original server.
87 * have time to receive an ack from. For updating its counters, the timeout
156 * @param timeout True if we call this method when the timeout occurred, that
157 * is we did not received every expected acks in time, and thus, the timeout
161 public abstract AckMsg createAck(boolean timeout); argument
167 * other code (ack timeout cod
[all...]
H A DSafeReadExpectedAcksInfo.java53 // Did some servers go in timeout when the matching update was sent ?
64 // 3 possible errors (timeout, wrong status or replay error)
103 * Sets the timeout marker for the future update ack.
104 * @param hasTimeout True if some timeout occurred
130 * Gets the timeout marker for the future update ack.
131 * @return The timeout marker for the future update ack.
207 public AckMsg createAck(boolean timeout) argument
216 if (timeout)
218 // Force anyway timeout flag if requested
/forgerock/opendj2/src/server/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java124 public AckMsg createAck(boolean timeout) argument
128 if (timeout)
H A DExpectedAcksInfo.java65 * timeout task or the code for processing an ack for the matching update
67 * acks is completed or an ack timeout has occurred and we are going to
84 * If the timeout occurs for the original update, we call createAck(true)
85 * in the timeout code for sending back an error ack to the original server.
87 * have time to receive an ack from. For updating its counters, the timeout
155 * @param timeout True if we call this method when the timeout occurred, that
156 * is we did not received every expected acks in time, and thus, the timeout
160 public abstract AckMsg createAck(boolean timeout); argument
166 * other code (ack timeout cod
[all...]
H A DSafeReadExpectedAcksInfo.java53 /** Did some servers go in timeout when the matching update was sent ?. */
64 * server id of the list had one of the 3 possible errors (timeout, wrong
105 * Sets the timeout marker for the future update ack.
106 * @param hasTimeout True if some timeout occurred
132 * Gets the timeout marker for the future update ack.
133 * @return The timeout marker for the future update ack.
211 public AckMsg createAck(boolean timeout) argument
220 if (timeout)
222 // Force anyway timeout flag if requested
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java120 public AckMsg createAck(boolean timeout) argument
124 if (timeout)
H A DExpectedAcksInfo.java65 * timeout task or the code for processing an ack for the matching update
67 * acks is completed or an ack timeout has occurred and we are going to
84 * If the timeout occurs for the original update, we call createAck(true)
85 * in the timeout code for sending back an error ack to the original server.
87 * have time to receive an ack from. For updating its counters, the timeout
156 * @param timeout True if we call this method when the timeout occurred, that
157 * is we did not received every expected acks in time, and thus, the timeout
161 public abstract AckMsg createAck(boolean timeout); argument
167 * other code (ack timeout cod
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java120 public AckMsg createAck(boolean timeout) argument
124 if (timeout)
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java124 public AckMsg createAck(boolean timeout) argument
128 if (timeout)
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/
H A DSafeDataExpectedAcksInfo.java118 public AckMsg createAck(boolean timeout) argument
122 if (timeout)
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DLockManager.java265 * until the write lock is released. A default timeout will be used
290 * @param timeout The maximum length of time in milliseconds to
297 private static Lock lockRead(DN entryDN, long timeout) argument
318 long surrenderTime = System.currentTimeMillis() + timeout;
327 // table within the given timeout.
328 if (readLock.tryLock(timeout, TimeUnit.MILLISECONDS))
334 // We acquired the lock within the timeout and it's
360 // We couldn't acquire the lock before the timeout occurred,
373 // timeout to account for the time we've already waited.
374 timeout
508 lockWrite(DN entryDN, long timeout) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/types/
H A DLockManager.java264 * until the write lock is released. A default timeout will be used
289 * @param timeout The maximum length of time in milliseconds to
296 private static Lock lockRead(DN entryDN, long timeout) argument
317 long surrenderTime = System.currentTimeMillis() + timeout;
326 // table within the given timeout.
327 if (readLock.tryLock(timeout, TimeUnit.MILLISECONDS))
333 // We acquired the lock within the timeout and it's
359 // We couldn't acquire the lock before the timeout occurred,
372 // timeout to account for the time we've already waited.
373 timeout
507 lockWrite(DN entryDN, long timeout) argument
[all...]

Completed in 138 milliseconds

123456789