Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for peak (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

             */
            public JvmThreadsObj() {
                // Default constructor
            }
    
            /** Current number of threads */
            public int count;
            /** Peak number of threads */
            public int peak;
        }
    
        /**
         * Data transfer object representing JVM class loading statistics.
         */
        public static class JvmClassesObj {
            /**
             * Default constructor.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
            append(buf, "count", () -> threads.getCount()).append(',');
            append(buf, "peak", () -> threads.getPeakCount());
            buf.append("},");
            final Classes classes = jvmStats.getClasses();
            buf.append("\"classes\":{");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ResourceManager.java

    /**
     * Centralized resource management for preventing resource leaks.
     * Tracks all AutoCloseable resources and ensures proper cleanup.
     *
     * Features:
     * - Automatic resource cleanup with weak references
     * - Resource leak detection
     * - Resource usage monitoring
     * - Periodic cleanup of abandoned resources
     * - Detailed resource tracking and reporting
     */
    public class ResourceManager {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            SrvPipePeekResponse peek = resp.getOutputData(SrvPipePeekResponse.class);
            assertNotNull(peek);
            assertEquals(16, resp.getOutputLength());
            // Default zeros
            assertEquals(0, peek.getNamedPipeState());
            assertEquals(0, peek.getReadDataAvailable());
            assertEquals(0, peek.getNumberOfMessages());
            assertEquals(0, peek.getMessageLength());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class);
            SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class);
            when(peek.getReadDataAvailable()).thenReturn(7);
            when(ioResp.getOutputData()).thenReturn(peek);
    
            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp);
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                }
            }
    
            // Clean up expired weak references
            cleanupExpiredReferences();
    
            // Release all leases
            releaseAll();
    
            // Clear file cache
            fileCache.clear();
        }
    
        /**
         * Clean up expired weak references from the file cache
         */
        private void cleanupExpiredReferences() {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response structure for SMB2 IOCTL pipe peek operation.
     * Provides information about data available in a named pipe.
     *
     * @author svella
     *
     */
    public class SrvPipePeekResponse implements Decodable {
    
        /**
         * Constructs a new SrvPipePeekResponse.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

        private final int fid;
    
        /**
         * Constructs a TransPeekNamedPipe request to check the status of a named pipe.
         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to peek
         * @param fid the file identifier for the pipe
         */
        public TransPeekNamedPipe(final Configuration config, final String pipeName, final int fid) {
            super(config, SMB_COM_TRANSACTION, TRANS_PEEK_NAMED_PIPE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
        public int available() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // We can't verify the exact bytes without a real implementation of writeUTime,
            // but we can check that it's not zero.
            long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL;
            // This is a weak check, but better than nothing.
            // A more robust test would require a real SMB1SigningDigest.
            assertTrue(writtenTime != 0 || lastWriteTime == 0);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top