Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isTraceResourceUsage (0.2 sec)

  1. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isAllowCompound(command);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isTraceResourceUsage()
         */
        @Override
        public boolean isTraceResourceUsage() {
            return this.delegate.isTraceResourceUsage();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isStrictResourceLifecycle()
         */
        @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)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.access = access;
            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if (cfg.isTraceResourceUsage()) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            } else {
                this.creationBacktrace = null;
            }
        }
    
        /**
         * @param cfg
         * @param fid
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

            if (service != null && !service.startsWith("??")) {
                this.service = service;
            }
            this.service0 = this.service;
    
            this.traceResource = this.session.getConfig().isTraceResourceUsage();
            if (this.traceResource) {
                this.acquires = new LinkedList<>();
                this.releases = new LinkedList<>();
            } else {
                this.acquires = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

        }
    
        static SmbTreeConnection create(final CIFSContext c) {
            if (c.getConfig().isTraceResourceUsage()) {
                return new SmbTreeConnectionTrace(c);
            }
            return new SmbTreeConnection(c);
        }
    
        static SmbTreeConnection create(final SmbTreeConnection c) {
            if (c.ctx.getConfig().isTraceResourceUsage()) {
                return new SmbTreeConnectionTrace(c);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

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

            return this.ignoreCopyToException;
        }
    
        @Override
        public int getMaxRequestRetries() {
            return this.maxRequestRetries;
        }
    
        @Override
        public boolean isTraceResourceUsage() {
            return this.traceResourceUsage;
        }
    
        @Override
        public boolean isStrictResourceLifecycle() {
            return this.strictResourceLifecycle;
        }
    
        @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)
  7. src/main/java/jcifs/Configuration.java

        boolean isStrictResourceLifecycle();
    
        /**
         * This is solely intended for debugging
         *
         * @return whether to track the locations from which resources were created
         */
        boolean isTraceResourceUsage();
    
        /**
         * Checks if compound requests are allowed for the specified command
         *
         * @param command the SMB command to check
    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