Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 138 for currentTimeMillis (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

        public static final int WITNESS_RESOURCE_STATE_UNAVAILABLE = 0x000000FF;
    
        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
            this.timestamp = System.currentTimeMillis();
            this.newIPAddresses = new ArrayList<>();
            this.oldIPAddresses = new ArrayList<>();
            this.flags = WITNESS_RESOURCE_STATE_UNKNOWN;
        }
    
        /**
         * Creates a new witness notification.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

                }
    
                if (!exception.isRetryable()) {
                    return false;
                }
    
                // Check if we've exceeded time limits
                long totalElapsed = System.currentTimeMillis() - exception.getOperationStartTime();
                if (totalElapsed > maxDelayMs * maxAttempts) {
                    log.debug("Retry time limit exceeded for operation");
                    return false;
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            dataStoreFactory = new DataStoreFactory();
            systemHelper = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SecureKeyManager.java

            rawKeys.put(sessionId, keyClone);
    
            // Track creation time for rotation (only for non-archived keys)
            if (!sessionId.contains(".v")) {
                keyCreationTimes.put(sessionId, System.currentTimeMillis());
                keyVersions.putIfAbsent(sessionId, 0);
            }
    
            // Optionally store in KeyStore
            if (keyStore != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbException.java

            super(message);
            this.errorCode = errorCode;
            this.severity = severity;
            this.category = category;
            this.context = new HashMap<>();
            this.timestamp = System.currentTimeMillis();
        }
    
        /**
         * Creates an SMB exception with cause
         *
         * @param message the error message
         * @param errorCode the SMB error code
         * @param severity the error severity
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            File expiredFile = new File(dir1, "expired.png");
            expiredFile.createNewFile();
            expiredFile.setLastModified(System.currentTimeMillis() - 10000L);
    
            File recentFile = new File(dir1, "recent.png");
            recentFile.createNewFile();
            recentFile.setLastModified(System.currentTimeMillis());
    
            // Override purge to avoid client operations
            ThumbnailManager testManager = new ThumbnailManager() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            public LeaseEntry(Smb2LeaseKey key, String path, int state) {
                this.leaseKey = key;
                this.path = path;
                this.leaseState = state;
                this.createTime = System.currentTimeMillis();
                this.lastAccessTime = createTime;
                this.epoch = 1;
                this.breaking = false;
            }
    
            /**
             * Update the lease state
             *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        public void testAuthenticationTimestamp() throws InterruptedException {
            long beforeCreation = System.currentTimeMillis();
    
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TimestampPass123!");
    
            long afterCreation = System.currentTimeMillis();
    
            // Set a reasonable TTL
            auth.setAuthenticationTTL(1000); // 1 second
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return;
            }
            long expiration = -1;
            if (this.transportContext.getConfig().getNetbiosCachePolicy() != SmbConstants.FOREVER) {
                expiration = System.currentTimeMillis() + this.transportContext.getConfig().getNetbiosCachePolicy() * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            private final AtomicLong executeTime = new AtomicLong(0);
            private final AtomicBoolean committed = new AtomicBoolean(false);
            private final long startTime = System.currentTimeMillis();
    
            @Override
            public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                documentCount.incrementAndGet();
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top