Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getBatchLimit (0.06 sec)

  1. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNull(config.getMachineId());
        }
    
        @Test
        @DisplayName("Test getBatchLimit method")
        void testGetBatchLimit() {
            // Test default batch limit
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isIgnoreCopyToException();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getBatchLimit(java.lang.String)
         */
        @Override
        public int getBatchLimit(final String cmd) {
            return this.delegate.getBatchLimit(cmd);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isAllowCompound(java.lang.String)
         */
    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/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

        }
    
        /**
         * Gets the batch limit for chained commands
         * @param cfg the configuration
         * @param cmd the command byte
         * @return the batch limit
         */
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            /*
             * the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
             */
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

            return this.channelHealthCheckInterval;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getBatchLimit(java.lang.String)
         */
        @Override
        public int getBatchLimit(final String cmd) {
            Integer set = this.batchLimits.get(cmd);
            if (set != null) {
                return set;
            }
    
            set = doGetBatchLimit(cmd);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

        /**
         * Gets the batch limit for a specific SMB command
         *
         * @param cmd the SMB command name
         * @return the batch limit for the given command
         */
        int getBatchLimit(String cmd);
    
        /**
         *
         * Property {@code jcifs.smb.client.notify_buf_size} (int, default 1024)
         *
         * @return the size of the requested server notify buffer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top