Searched refs:sleepTime (Results 1 - 25 of 73) sorted by relevance

123

/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/
H A DTestTimer.java125 private final long sleepTime; field in class:TestTimer.SteppingTimer
131 this.sleepTime = builder.sleepTimes;
132 this.totalNbSteps = sleepTime > 0 ? builder.maxSleepTimeInMillis / sleepTime : 0;
147 Thread.sleep(sleepTime);
187 return totalNbSteps * sleepTime + " ms max sleep time"
188 + " (" + totalNbSteps + " steps x " + sleepTime + " ms)"
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DDummyTask.java51 private long sleepTime; field in class:DummyTask
72 sleepTime = 0;
86 sleepTime = Long.parseLong(v.getValue().toString());
100 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DDummyTask.java50 private long sleepTime; field in class:DummyTask
71 sleepTime = 0;
85 sleepTime = Long.parseLong(v.getValue().toString());
99 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DDummyTask.java51 private long sleepTime; field in class:DummyTask
72 sleepTime = 0;
86 sleepTime = Long.parseLong(v.getValue().toString());
100 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DDummyTask.java50 private long sleepTime; field in class:DummyTask
71 sleepTime = 0;
85 sleepTime = Long.parseLong(v.getValue().toString());
99 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DDummyTask.java51 private long sleepTime; field in class:DummyTask
72 sleepTime = 0;
86 sleepTime = Long.parseLong(v.getValue().toString());
100 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/tasks/
H A DDummyTask.java47 private long sleepTime; field in class:DummyTask
66 sleepTime = 0;
80 sleepTime = Long.parseLong(v.toString());
92 long stopTime = System.currentTimeMillis() + sleepTime;
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/protocol/
H A DHeartbeatThread.java127 long sleepTime = session.getLastPublishTime() +
129 if (sleepTime <= 0)
131 sleepTime = heartbeatInterval;
136 TRACER.debugVerbose("Heartbeat thread sleeping for %d", sleepTime);
145 shutdownLock.wait(sleepTime);
/forgerock/opendj2/src/server/org/opends/server/replication/protocol/
H A DHeartbeatThread.java128 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
129 if (sleepTime <= 0)
131 sleepTime = heartbeatInterval;
136 TRACER.debugVerbose("Heartbeat thread sleeping for %d", sleepTime);
145 shutdownLock.wait(sleepTime);
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/protocol/
H A DHeartbeatThread.java127 long sleepTime = session.getLastPublishTime() +
129 if (sleepTime <= 0)
131 sleepTime = heartbeatInterval;
136 TRACER.debugVerbose("Heartbeat thread sleeping for %d", sleepTime);
145 shutdownLock.wait(sleepTime);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/protocol/
H A DHeartbeatThread.java127 long sleepTime = session.getLastPublishTime() +
129 if (sleepTime <= 0)
131 sleepTime = heartbeatInterval;
136 TRACER.debugVerbose("Heartbeat thread sleeping for %d", sleepTime);
145 shutdownLock.wait(sleepTime);
/forgerock/opendj2-hg/src/server/org/opends/server/replication/protocol/
H A DHeartbeatThread.java128 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
129 if (sleepTime <= 0)
131 sleepTime = heartbeatInterval;
136 TRACER.debugVerbose("Heartbeat thread sleeping for %d", sleepTime);
145 shutdownLock.wait(sleepTime);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/core/
H A DIdleTimeLimitThread.java82 long sleepTime = 5000L;
94 shutdownLock.wait(sleepTime);
106 sleepTime = 5000L;
148 if (shouldSleepTime < sleepTime)
150 sleepTime = shouldSleepTime;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/
H A DHeartbeatThread.java118 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
119 if (sleepTime <= 0)
121 sleepTime = heartbeatInterval;
126 logger.trace("Heartbeat thread sleeping for %d", sleepTime);
135 shutdownLock.wait(sleepTime);
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java115 long sleepTime = session.getLastPublishTime() +
117 if (sleepTime <= 0)
119 sleepTime = heartbeatInterval;
128 shutdownLock.wait(sleepTime);
/forgerock/opendj2/src/server/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java114 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
115 if (sleepTime <= 0)
117 sleepTime = heartbeatInterval;
126 shutdownLock.wait(sleepTime);
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java115 long sleepTime = session.getLastPublishTime() +
117 if (sleepTime <= 0)
119 sleepTime = heartbeatInterval;
128 shutdownLock.wait(sleepTime);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java115 long sleepTime = session.getLastPublishTime() +
117 if (sleepTime <= 0)
119 sleepTime = heartbeatInterval;
128 shutdownLock.wait(sleepTime);
/forgerock/opendj2-hg/src/server/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java114 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
115 if (sleepTime <= 0)
117 sleepTime = heartbeatInterval;
126 shutdownLock.wait(sleepTime);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/service/
H A DCTHeartbeatPublisherThread.java104 long sleepTime = session.getLastPublishTime() + heartbeatInterval - now;
105 if (sleepTime <= 0)
107 sleepTime = heartbeatInterval;
116 shutdownLock.wait(sleepTime);
/forgerock/opendj-b2.6/src/server/org/opends/server/core/
H A DIdleTimeLimitThread.java93 long sleepTime = 5000L;
105 shutdownLock.wait(sleepTime);
120 sleepTime = 5000L;
162 if (shouldSleepTime < sleepTime)
164 sleepTime = shouldSleepTime;
/forgerock/opendj2/src/server/org/opends/server/core/
H A DIdleTimeLimitThread.java92 long sleepTime = 5000L;
104 shutdownLock.wait(sleepTime);
119 sleepTime = 5000L;
161 if (shouldSleepTime < sleepTime)
163 sleepTime = shouldSleepTime;
/forgerock/opendj2.6.2/src/server/org/opends/server/core/
H A DIdleTimeLimitThread.java93 long sleepTime = 5000L;
105 shutdownLock.wait(sleepTime);
120 sleepTime = 5000L;
162 if (shouldSleepTime < sleepTime)
164 sleepTime = shouldSleepTime;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/
H A DIdleTimeLimitThread.java93 long sleepTime = 5000L;
105 shutdownLock.wait(sleepTime);
120 sleepTime = 5000L;
162 if (shouldSleepTime < sleepTime)
164 sleepTime = shouldSleepTime;
/forgerock/opendj2-hg/src/server/org/opends/server/core/
H A DIdleTimeLimitThread.java92 long sleepTime = 5000L;
104 shutdownLock.wait(sleepTime);
119 sleepTime = 5000L;
161 if (shouldSleepTime < sleepTime)
163 sleepTime = shouldSleepTime;

Completed in 1619 milliseconds

123