Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for exit (0.23 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                assertTrue(deployedFile.exists());
                assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim());
            } finally {
                sessionScope.exit();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Crawler does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (commandThread != null && commandThread.isAlive()) {
                    commandThread.interrupt();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Suggest creator does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (systemMonitorTask != null) {
                    systemMonitorTask.cancel();
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
      static final class BrokenChannel extends AbstractInterruptibleChannel {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    logger.info("ThumbnailGenerator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("ThumbnailGenerator does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (systemMonitorTask != null) {
                    systemMonitorTask.cancel();
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Python: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
      static final class BrokenChannel extends AbstractInterruptibleChannel {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top