Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for CRITICAL (1.46 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Non-critical failures - should NOT open circuit
                for (int i = 0; i < 5; i++) {
                    try {
                        customCb.executeWithCircuitBreaker(() -> {
                            throw new RuntimeException("non-critical error");
                        }, isFailure);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/FessSystemException.java

    /**
     * System exception class for the Fess search engine.
     * This exception is thrown when system-level errors occur in the Fess application,
     * such as configuration errors, initialization failures, or critical runtime issues.
     */
    public class FessSystemException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility */
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacConstantsTest.java

     */
    class PacConstantsTest {
    
        /**
         * Tests that the constant values in the PacConstants interface match their expected values.
         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
            assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");
    
            // Verify PAC buffer types
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/LogStream.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.util;
    
    import java.io.PrintStream;
    
    /**
    0 - nothing
    1 - critical [default]
    2 - basic info can be logged under load
    3 - almost everything
    N - debugging
     */
    
    public class LogStream extends PrintStream {
    
        private static LogStream inst;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    /**
     * Log4j rewrite policy that converts ERROR level log events to WARN level for specified loggers.
     * This policy is useful for downgrading the severity of log events from certain loggers
     * to prevent them from being treated as critical errors.
     */
    @Plugin(name = "ErrorToWarnRewritePolicy", category = Core.CATEGORY_NAME, elementType = "rewritePolicy", printObject = true)
    public class ErrorToWarnRewritePolicy implements RewritePolicy {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            session.release();
        }
    
        /**
         * Performance regression test for all critical fixes
         */
        @Test
        public void testOverallPerformanceRegression() throws Exception {
            System.out.println("=== Critical Performance Fixes Validation ===");
    
            // Test multiple components together
            long start = System.nanoTime();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

        }
    
        @Test
        void readTrailerWireFormatShouldReadSixBytesSuccessfully() throws IOException {
            // Test successful reading of 6 bytes from the input stream.
            // The content of these bytes is not critical for this test, only that 6 bytes are read.
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        /**
         * Event severity levels
         */
        public enum Severity {
            INFO(0), WARNING(1), ERROR(2), CRITICAL(3);
    
            private final int level;
    
            Severity(int level) {
                this.level = level;
            }
    
            public int getLevel() {
                return level;
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                    return false;
                }
                return true;
            } catch (final Exception e) {
                // Log the exception at debug level because an invalid URI is not critical and can be ignored.
                logger.debug("Invalid URI: {}", path, e);
            }
            return false;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/LogStreamTest.java

        void testLevelValuesDocumentation() {
            // Test various level values as documented
            // 0 - nothing
            LogStream.setLevel(0);
            assertEquals(0, LogStream.level);
    
            // 1 - critical [default]
            LogStream.setLevel(1);
            assertEquals(1, LogStream.level);
    
            // 2 - basic info can be logged under load
            LogStream.setLevel(2);
            assertEquals(2, LogStream.level);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top