Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 37 for isAvailable (0.29 seconds)

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

        private Object endpointGroup; // RdmaActiveEndpointGroup<DisniRdmaEndpoint>
        private Object endpoint; // RdmaActiveEndpoint
        private boolean initialized = false;
    
        @Override
        public boolean isAvailable() {
            try {
                // Check if DiSNI is available on the classpath
                Class.forName("com.ibm.disni.RdmaActiveEndpointGroup");
    
                // Additional checks could include:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/StorageClient.java

         */
        void ensureBucketExists();
    
        /**
         * Checks if storage is properly configured and accessible.
         *
         * @return true if storage is available
         */
        boolean isAvailable();
    
        /**
         * Closes the client and releases resources.
         */
        @Override
        void close();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

     */
    public interface RdmaProvider {
    
        /**
         * Check if RDMA is available on this system
         *
         * @return true if RDMA can be used, false otherwise
         */
        boolean isAvailable();
    
        /**
         * Get supported RDMA capabilities
         *
         * @return set of capabilities supported by this provider
         */
        Set<RdmaCapability> getSupportedCapabilities();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                }
            } catch (final Exception e) {
                logger.warn("Failed to ensure bucket exists: {}", bucket, e);
            }
        }
    
        @Override
        public boolean isAvailable() {
            try {
                return storage.get(bucket) != null;
            } catch (final Exception e) {
                return false;
            }
        }
    
        @Override
        public void close() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    }
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public boolean isAvailable() {
            if (available != null) {
                return available;
            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test availability check
            assertTrue(thumbnailGenerator.isAvailable());
        }
    
        @Test
        public void test_destroy() {
            // Test destroy method - should not throw exception
            thumbnailGenerator.destroy();
            // After destroy, generator should not be available
            assertFalse(thumbnailGenerator.isAvailable());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

                DockerSupportPlugin.DOCKER_SUPPORT_SERVICE_NAME
            );
            distributionDownloadPlugin.setDockerAvailability(
                dockerSupport.map(dockerSupportService -> dockerSupportService.getDockerAvailability().isAvailable)
            );
            registerInternalDistributionResolutions(DistributionDownloadPlugin.getRegistrationsContainer(project));
        }
    
        /**
         * Registers internal distribution resolutions.
         * <p>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmClient.java

         */
        String getName();
    
        /**
         * Checks if this LLM client is available and properly configured.
         *
         * @return true if the client is available, false otherwise
         */
        boolean isAvailable();
    
        // RAG workflow methods
    
        /**
         * Detects the intent of a user message.
         *
         * @param userMessage the user's message
         * @return the detected intent with extracted keywords
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/JobHelper.java

        /**
         * Checks if a job with the specified ID is available.
         *
         * @param id the job ID to check
         * @return true if the job is available, false otherwise
         */
        public boolean isAvailable(final String id) {
            return ComponentUtil.getComponent(ScheduledJobBhv.class)
                    .selectByPK(id)
                    .filter(e -> Boolean.TRUE.equals(e.getAvailable()))
                    .isPresent();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to check bucket: {}", bucket, e);
                }
            }
        }
    
        @Override
        public boolean isAvailable() {
            try {
                final HeadBucketRequest request = HeadBucketRequest.builder().bucket(bucket).build();
                s3Client.headBucket(request);
                return true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top