Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 153 for currentTimeMillis (0.17 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
            accessResult1.setLastModified(System.currentTimeMillis());
            accessResult1.setMethod("GET");
            accessResult1.setMimeType("text/plain");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

        private boolean shouldAttemptReset() {
            long timeSinceLastFailure = System.currentTimeMillis() - lastFailureTime.get();
            return timeSinceLastFailure >= resetTimeoutMillis;
        }
    
        private void transitionTo(State newState) {
            State oldState = state.getAndSet(newState);
            lastStateChangeTime.set(System.currentTimeMillis());
    
            if (oldState != newState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            try {
                lastAccessTime = System.currentTimeMillis();
                return children.containsKey(name);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Check if cache entry is expired
         *
         * @return true if expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            this.serverAddress = serverAddress;
            this.serviceType = serviceType;
            this.version = WitnessVersion.VERSION_2; // Use latest by default
            this.registrationTime = System.currentTimeMillis();
            this.sequenceNumber = new AtomicLong(0);
            this.state = WitnessRegistrationState.REGISTERING;
            this.lastHeartbeat = registrationTime;
            this.heartbeatFailures = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/log/LoggerTest.java

        public void testPerformance() throws Exception {
            final int num = 100;
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                System.out.println("test" + i);
            }
            final long sysout = System.currentTimeMillis() - start;
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                logger.fatal("test" + i);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

    import okhttp3.dnsoverhttps.DohProviders.providers
    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

                // Mock implementation that doesn't require client
                entity.setLastUpdated(System.currentTimeMillis());
            }
    
            @Override
            public void insert(JobLog entity) {
                // Mock implementation that doesn't require client
                entity.setLastUpdated(System.currentTimeMillis());
            }
    
            @Override
            public void update(JobLog entity) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        // First listing should hit the server
        long start1 = System.currentTimeMillis();
        SmbFile[] files1 = dir.listFiles();
        long time1 = System.currentTimeMillis() - start1;
        
        // Second listing should use cache (much faster)
        long start2 = System.currentTimeMillis();
        SmbFile[] files2 = dir.listFiles();
        long time2 = System.currentTimeMillis() - start2;
        
        assertEquals(files1.length, files2.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            private volatile long firstConnectionTime = System.currentTimeMillis();
            private volatile long lastActivityTime = System.currentTimeMillis();
    
            void recordConnection() {
                connectionsCreated.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordSuccess() {
                successCount.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutTask.java

            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * Returns whether the task has expired.
         *
         * @return whether the task has expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() >= startTime + timeoutMillis;
        }
    
        /**
         * Returns whether the task is permanent.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top