Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isAvailable (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

            } catch (nsae: NoSuchAlgorithmException) {
              SSLContext.getInstance("TLS")
            }
        }
      }
    
      companion object {
        val isAvailable: Boolean
    
        val majorVersion = System.getProperty("java.specification.version")?.toIntOrNull()
    
        init {
          isAvailable =
            if (majorVersion != null) {
              majorVersion >= 9
            } else {
              try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                return;
            }
    
            final JobHelper jobHelper = ComponentUtil.getJobHelper();
            if (!jobHelper.isAvailable(id)) {
                logger.info("Job {} is unavailable. Unregistering this job.", id);
                jobHelper.unregister(scheduledJob);
                return;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

    public interface ThumbnailGenerator {
    
        String getName();
    
        boolean generate(String thumbnailId, File outputFile);
    
        boolean isTarget(Map<String, Object> docMap);
    
        boolean isAvailable();
    
        void destroy();
    
        Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
              // Bump this version if we ever have a binary incompatibility
              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (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");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. 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());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/JobHelper.java

                }
            } catch (final Exception e) {
                throw new ScheduledJobException("Failed to delete Job: " + scheduledJob, e);
            }
        }
    
        public boolean isAvailable(final String id) {
            return ComponentUtil.getComponent(ScheduledJobBhv.class).selectByPK(id).filter(e -> Boolean.TRUE.equals(e.getAvailable()))
                    .isPresent();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. 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()
                    .provideTrustManager(true)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  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) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top