- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Command (0.24 sec)
-
src/main/java/org/codelibs/fess/job/PythonJob.java
} final TimeoutTask timeoutTask = createTimeoutTask(); try { executePython(); } catch (final Exception e) { logger.warn("Failed to run python command.", e); resultBuf.append(e.getMessage()).append("\n"); } finally { if (timeoutTask != null && !timeoutTask.isCanceled()) { timeoutTask.cancel(); } }
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) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} if (Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP.equals(command)) { ThreadDumpUtil.printThreadDump(); } else { logger.warn("Unknown process command: {}", command); }
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) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
final JobProcess jobProcess = runningProcessMap.get(sessionId); if (jobProcess == null) { throw new JobNotFoundException("Job for " + sessionId + " is not found."); } try { final OutputStream out = jobProcess.getProcess().getOutputStream(); IOUtils.write(command + "\n", out, Constants.CHARSET_UTF_8);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
String PROCESSORS = "processors"; /** The key of the configuration. e.g. java */ String JAVA_COMMAND_PATH = "java.command.path"; /** The key of the configuration. e.g. python */ String PYTHON_COMMAND_PATH = "python.command.path"; /** The key of the configuration. e.g. UTF-8 */ String PATH_ENCODING = "path.encoding";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Apr 11 02:34:53 GMT 2024 - 459.2K bytes - Viewed (5) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java
final String id = form.id; crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> { try { processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP); saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to print a thread dump.", e);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
public static final String SYSTEM_USER = "system"; public static final String EMPTY_USER_ID = "<empty>"; public static final String CRAWLER_PROCESS_COMMAND_THREAD_DUMP = "thread_dump"; public static final String FESS_THUMBNAIL_PATH = "fess.thumbnail.path"; public static final String FESS_VAR_PATH = "fess.var.path";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
protected int executeCommand(final String[] commands, final String username, final String password) { if (commands == null || commands.length == 0) { throw new CommandExecutionException("command is empty."); } if (logger.isInfoEnabled()) { logger.info("Command: {}", String.join(" ", commands)); } final String[] cmds = stream(commands).get(stream -> stream.map(s -> {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
final String commandTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.timeout"); if (commandTimeoutStr != null) { commandTimeout = Long.valueOf(commandTimeoutStr); } final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout"); if (commandDestroyTimeoutStr != null) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0)