Searched refs:currentTime (Results 1 – 10 of 10) sorted by relevance
167 final long currentTime = System.nanoTime(); in awaitFinalization() local168 if (currentTime >= endTime) { in awaitFinalization()171 final long deltaTime = endTime - currentTime; in awaitFinalization()
538 long currentTime, executionTime; in mainLoop() local545 currentTime = System.currentTimeMillis(); in mainLoop()547 if (taskFired = (executionTime<=currentTime)) { in mainLoop()553 task.period<0 ? currentTime - task.period in mainLoop()559 queue.wait(executionTime - currentTime); in mainLoop()
104 public boolean isValid(long currentTime); in isValid() argument130 public boolean isValid(long currentTime) { in isValid() argument163 public boolean isValid(long currentTime) { in isValid() argument
78 Instant currentTime) throws Exception { in createZoneInfo() argument83 ZoneInfoData data = ZoneInfoData.createZoneInfo(name, currentTime.toEpochMilli(), in createZoneInfo()
470 boolean isValid(long currentTime); in isValid() argument500 public boolean isValid(long currentTime) { in isValid() argument501 boolean valid = (currentTime <= expirationTime); in isValid()537 public boolean isValid(long currentTime) { in isValid() argument538 boolean valid = (currentTime <= expirationTime) && (get() != null); in isValid()
98 long currentTime = System.currentTimeMillis(); in test_getCreationTime() local100 long diff = currentTime - sessionTime; in test_getCreationTime()101 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getCreationTime()110 long currentTime = System.currentTimeMillis(); in test_getLastAccessedTime() local112 long diff = currentTime - sessionTime; in test_getLastAccessedTime()113 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getLastAccessedTime()
101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables() local102 date = new Date(currentTime); in createTestTables()103 time = new Time(currentTime); in createTestTables()105 DatabaseCreator.fillTestTable2(conn, 1, 5, currentTime); in createTestTables()
276 long currentTime = System.currentTimeMillis(); in assertTimeout() local277 if ((currentTime - startTime) > timeout) { in assertTimeout()
1304 long currentTime = System.currentTimeMillis(); in assertTimeout() local1305 if ((currentTime - startTime) > timeout) { in assertTimeout()
2106 long currentTime = System.currentTimeMillis(); in assertTimeout() local2107 if ((currentTime - startTime) > timeout) { in assertTimeout()