- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for jobExecutor (0.1 sec)
-
src/main/java/org/codelibs/fess/job/JobExecutor.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.job; public abstract class JobExecutor { protected ShutdownListener shutdownListener; public abstract Object execute(String scriptType, String script); public void shutdown() { shutdownListener.onShutdown(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
public abstract String execute(); protected abstract String getExecuteType(); public String execute(final JobExecutor jobExecutor) { jobExecutor(jobExecutor); return execute(); } public ExecJob jobExecutor(final JobExecutor jobExecutor) { this.jobExecutor = jobExecutor; return this; } public ExecJob sessionId(final String sessionId) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
final String scriptType = scheduledJob.getScriptType(); final String script = scheduledJob.getScriptData(); final JobExecutor jobExecutor = ComponentUtil.getJobExecutor(scriptType); if (jobExecutor == null) { throw new ScheduledJobException("No jobExecutor: " + scriptType); } if (!jobManager.findJobByUniqueOf(LaJobUnique.of(id)).isPresent()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java
*/ package org.codelibs.fess.job.impl; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.job.JobExecutor; import org.codelibs.fess.util.ComponentUtil; public class ScriptExecutor extends JobExecutor { @Override public Object execute(final String scriptType, final String script) { final Map<String, Object> params = new HashMap<>();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
sessionId = RandomStringUtils.randomAlphabetic(15); } resultBuf.append("Session Id: ").append(sessionId).append("\n"); if (jobExecutor != null) { jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId)); } final TimeoutTask timeoutTask = createTimeoutTask(); try { executePython();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.9K bytes - Viewed (0)