Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isStrictResourceLifecycle (0.28 sec)

  1. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.isIgnoreCopyToException();
                mockConfig.getBatchLimit("cmd");
                mockConfig.getNotifyBufferSize();
                mockConfig.getMaxRequestRetries();
                mockConfig.isStrictResourceLifecycle();
                mockConfig.isTraceResourceUsage();
                mockConfig.isAllowCompound("cmd");
                mockConfig.getMachineId();
                mockConfig.isDisableSpnegoIntegrity();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isTraceResourceUsage();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isStrictResourceLifecycle()
         */
        @Override
        public boolean isStrictResourceLifecycle() {
            return this.delegate.isStrictResourceLifecycle();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxRequestRetries()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertFalse(config.isIgnoreCopyToException());
            assertEquals(2, config.getMaxRequestRetries());
            assertFalse(config.isTraceResourceUsage());
            assertFalse(config.isStrictResourceLifecycle());
            assertNull(config.getMachineId());
        }
    
        @Test
        @DisplayName("Test getBatchLimit method")
        void testGetBatchLimit() {
            // Test default batch limit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                // Optimization: For non-strict lifecycle, delay tree handle closure
                // to allow connection reuse for subsequent operations
                if (this.transportContext.getConfig().isStrictResourceLifecycle()) {
                    th.close();
                } else {
                    // Let connection pooling handle cleanup - this improves performance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         *
         * @return whether to use strict resource lifecycle
         */
        boolean isStrictResourceLifecycle();
    
        /**
         * This is solely intended for debugging
         *
         * @return whether to track the locations from which resources were created
         */
        boolean isTraceResourceUsage();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

            return this.maxRequestRetries;
        }
    
        @Override
        public boolean isTraceResourceUsage() {
            return this.traceResourceUsage;
        }
    
        @Override
        public boolean isStrictResourceLifecycle() {
            return this.strictResourceLifecycle;
        }
    
        @Override
        public boolean isSendNTLMTargetName() {
            return this.sendNTLMTargetName;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top