Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getInconsistencyCount (0.26 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            return hasChanges;
        }
    
        /**
         * Get and increment inconsistency count
         *
         * @return the current inconsistency count
         */
        public int getInconsistencyCount() {
            return inconsistencyCount.getAndIncrement();
        }
    
        /**
         * Reset inconsistency count
         */
        public void resetInconsistencyCount() {
            inconsistencyCount.set(0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

        }
    
        @Test
        public void testInconsistencyCount() {
            assertEquals(0, entry.getInconsistencyCount());
            assertEquals(1, entry.getInconsistencyCount());
            assertEquals(2, entry.getInconsistencyCount());
    
            entry.resetInconsistencyCount();
            assertEquals(0, entry.getInconsistencyCount());
        }
    
        @Test
        public void testFileInfoMatches() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  3. docs/smb3-features/04-directory-leasing-design.md

            if (entry != null) {
                entry.removeChild(fileName);
                
                // If too many inconsistencies, invalidate entire cache
                if (entry.getInconsistencyCount() > 5) {
                    entry.invalidate();
                }
            }
        }
    }
    ```
    
    ### 9.2 Fallback Mechanisms
    ```java
    public class DirectoryOperationFallback {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top