Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getJobManager (0.08 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

            return Constants.T.equals(getAvailable());
        }
    
        public boolean isRunning() {
            return ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).map(LaScheduledJob::isExecutingNow).orElse(false);
        }
    
        public void start() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.launchNow();
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/JobHelper.java

            final JobManager jobManager = ComponentUtil.getJobManager();
            try {
                return jobManager.findJobByUniqueOf(jobUnique);
            } catch (final Exception e) {
                return OptionalThing.empty();
            }
        }
    
        public void unregister(final ScheduledJob scheduledJob) {
            try {
                final JobManager jobManager = ComponentUtil.getJobManager();
                if (jobManager.isSchedulingDone()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                return;
            }
            runtime.stopIfNeeds();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final JobManager jobManager = ComponentUtil.getJobManager();
            final ScheduledJob scheduledJob = (ScheduledJob) runtime.getParameterMap().get(Constants.SCHEDULED_JOB);
            final String id = scheduledJob.getId();
            final String target = scheduledJob.getTarget();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top