Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for LeaseKey (0.05 seconds)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

         * @param path the file path
         * @param type the handle type
         * @param timeout the timeout in milliseconds
         * @param leaseKey the associated lease key (can be null)
         * @return the handle GUID
         */
        public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            HandleGuid guid = new HandleGuid();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

        }
    
        @Override
        public int hashCode() {
            return Arrays.hashCode(key);
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder("LeaseKey[");
            for (int i = 0; i < key.length; i++) {
                if (i > 0) {
                    sb.append(' ');
                }
                sb.append(String.format("%02X", key[i] & 0xFF));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    TimeUnit.MILLISECONDS);
        }
    
        /**
         * Lease entry containing lease state information
         */
        public static class LeaseEntry {
            private final Smb2LeaseKey leaseKey;
            private volatile int leaseState;
            private volatile int epoch;
            private final long createTime;
            private volatile long lastAccessTime;
            private final String path;
    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)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
            String str = key.toString();
    
            assertTrue(str.startsWith("LeaseKey["));
            assertTrue(str.endsWith("]"));
            assertTrue(str.contains("00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                                Smb2LeaseKey leaseKey = leaseManager.requestLease(uncPath, requestedState);
                                if (leaseKey != null) {
                                    // Add lease context to create request
                                    if (h.isSMB30()) {
                                        // Use Lease V2 for SMB 3.0.2+
                                        req.addLeaseV2Context(leaseKey, requestedState, null, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top