Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for isComplete (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Cache should be invalidated
            assertFalse(cacheEntry.isComplete());
    
            // Step 9: Test lease break
            // Re-populate cache
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
            assertTrue(cacheEntry.isComplete());
    
            // Simulate lease break with loss of read cache
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            return leaseKey;
        }
    
        /**
         * Checks if the complete directory enumeration has been cached
         * @return true if full enumeration is cached
         */
        public boolean isComplete() {
            return isComplete;
        }
    
        /**
         * Gets the cache scope (ALL or IMMEDIATE_CHILDREN)
         * @return the cache scope
         */
        public DirectoryCacheScope getScope() {
            return scope;
    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)
  3. docs/smb3-features/04-directory-leasing-design.md

            try {
                this.isComplete = true;
                this.hasChanges = false;
                this.lastUpdateTime = System.currentTimeMillis();
            } finally {
                lock.writeLock().unlock();
            }
        }
        
        public void invalidate() {
            lock.writeLock().lock();
            try {
                children.clear();
                isComplete = false;
                hasChanges = true;
    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)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
            assertTrue(cacheEntry.isComplete());
            assertEquals(2, cacheEntry.getChildren().size());
    
            // Verify the cached files have correct names
            List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

         */
        public List<SmbFile> getCachedDirectoryListing(String directoryPath) {
            DirectoryCacheEntry entry = getCacheEntry(directoryPath);
            if (entry == null || !entry.isComplete()) {
                return null;
            }
    
            List<SmbFile> files = new ArrayList<>();
            for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. internal/kms/config.go

    		if !isPresent(EnvKMSEndpoint) {
    			return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSEndpoint)
    		}
    		if !isPresent(EnvKMSEnclave) {
    			return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSEnclave)
    		}
    		if !isPresent(EnvKMSDefaultKey) {
    			return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSDefaultKey)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            });
    
            assertEquals("unexpected EOF reading netbios session header", exception.getMessage());
        }
    
        @Test
        @DisplayName("readPacketType should throw IOException on incomplete header")
        void testReadPacketTypeIncompleteHeader() {
            byte[] headerData = { (byte) 0x81, (byte) 0x00 }; // Only 2 bytes instead of 4
            ByteArrayInputStream bais = new ByteArrayInputStream(headerData);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                        Arguments.of("", "empty version"),
                        Arguments.of("   ", "whitespace-only version"),
                        Arguments.of("4", "incomplete version (major only)"),
                        Arguments.of("4.0", "incomplete version (major.minor only)"),
                        Arguments.of("invalid", "non-numeric version"),
                        Arguments.of("4.0.0-SNAPSHOT", "snapshot version"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidGAVScenarios() {
                return Stream.of(
                        Arguments.of(
                                null, "incomplete-project", null, "Should return null for missing groupId and version"),
                        Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  10. cmd/background-newdisks-heal-ops.go

    	if tracker.ItemsFailed > 0 && tracker.RetryAttempts < 4 {
    		tracker.RetryAttempts++
    
    		healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retrying %s time (healed: %d, skipped: %d, failed: %d).", disk,
    			humanize.Ordinal(int(tracker.RetryAttempts)), tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed)
    
    		tracker.resetHealing()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top