Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for isAvailable (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            }
            final LlmClient client = getClient();
            final boolean isAvailable = client != null && client.isAvailable();
            if (logger.isTraceEnabled()) {
                logger.trace("[LLM] LLM availability check. llmType={}, clientFound={}, isAvailable={}", llmType, client != null, isAvailable);
            }
            return isAvailable;
        }
    
        /**
         * Gets the LLM client instance for the configured LLM type.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

                TaskProvider<Test> destructiveTask = configureTestTask(project, taskname, distribution, t -> {
                    t.onlyIf(t2 -> distribution.isDocker() == false || dockerSupport.get().getDockerAvailability().isAvailable);
                    addDistributionSysprop(t, DISTRIBUTION_SYSPROP, distribution::getFilepath);
                    //addDistributionSysprop(t, EXAMPLE_PLUGIN_SYSPROP, () -> examplePlugin.getSingleFile().toString());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

                System.setProperty("javax.net.debug", "")
              }
            } else if (platformSystemProperty == CONSCRYPT_PROPERTY) {
              if (Security.getProviders()[0].name != "Conscrypt") {
                if (!Conscrypt.isAvailable()) {
                  System.err.println("Warning: Conscrypt not available")
                }
    
                val provider =
                  Conscrypt
                    .newProviderBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    }
                    final ThumbnailGenerator generator = ComponentUtil.getComponent(generatorName);
                    if (generator.isAvailable()) {
                        if (!generator.generate(entity.getThumbnailId(), outputFile)) {
                            new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX).setLastModified(systemHelper.getCurrentTimeAsLong());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                            .orElse(false));
    
            runtime.registerData("pageLoginLink", fessConfig.isLoginLinkEnabled());
            runtime.registerData("chatEnabled", chatClient.isAvailable());
        }
    
        // ===================================================================================
        //                                                                             Helpers
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 18 04:42:56 GMT 2026
    - 14K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         */
        protected FTPClient getClient(final FtpInfo info) throws IOException {
            FTPClient ftpClient = ftpClientQueue.poll();
            if (ftpClient != null) {
                if (ftpClient.isAvailable()) {
                    return ftpClient;
                }
                try {
                    ftpClient.disconnect();
                } catch (final Exception e) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
Back to Top