Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Availability (0.18 sec)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (total == 0) {
                return 100.0;
            }
            return (totalSuccesses.get() * 100.0) / total;
        }
    
        /**
         * Calculate availability
         *
         * @return availability as percentage (0-100)
         */
        private double calculateAvailability() {
            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test that isAvailable returns true for EmptyGenerator
            assertTrue(emptyGenerator.isAvailable());
            // Test cached availability
            assertTrue(emptyGenerator.isAvailable());
        }
    
        public void test_isTarget() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share capability indicating DFS support.
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * Share capability indicating continuous availability support.
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * Share capability indicating scale-out support.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", null);
            assertFalse(thumbnailGenerator.isTarget(docMap));
        }
    
        public void test_isAvailable() {
            // Test availability check
            assertTrue(thumbnailGenerator.isAvailable());
        }
    
        public void test_destroy() {
            // Test destroy method - should not throw exception
            thumbnailGenerator.destroy();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceException.java

            case THREAD_POOL:
                return "Reduce concurrent operations or increase thread pool size";
            default:
                return "Check resource availability and retry";
            }
        }
    
        /**
         * Static factory for file handle exhaustion
         */
        public static SmbResourceException fileHandleExhausted(int errorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            customHook.hook(assistantDirector);
    
            // Verify that exception was handled
            assertTrue(exceptionHandled.get());
        }
    
        // Test with a custom ClassLoader to simulate class availability
        public void test_hook_withCustomClassLoader() throws Exception {
            // Create a custom ClassLoader that can control class loading behavior
            ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        return this.handle.acquire();
                    }
    
                    // Wait for named pipe availability - called when pipe is not immediately available
                    if (this.uncPath.startsWith("\\pipe\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

    import jcifs.CIFSContext;
    import jcifs.dcerpc.DcerpcHandle;
    
    /**
     * Client implementation for the SMB Witness RPC protocol (MS-SWN).
     * Provides communication with witness servers for monitoring SMB resource availability.
     */
    public class WitnessRpcClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessRpcClient.class);
    
        private final InetAddress serverAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        /** The name of this thumbnail generator. */
        protected String name;
    
        /** Maximum number of redirects to follow. */
        protected int maxRedirectCount = 10;
    
        /** Availability status of this generator. */
        protected Boolean available = null;
    
        /**
         * Registers this thumbnail generator with the thumbnail manager.
         */
        public void register() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
       * check its availability with {@link #lazyStackTraceIsLazy()}.
       *
       * <p>The expected (but not guaranteed) performance of the special implementation differs from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top