Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getJobManager (0.14 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)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            if (!processHelper.isProcessRunning()) {
                final List<ScheduledJob> scheduledJobList = scheduledJobService.getCrawlerJobList();
                final JobManager jobManager = ComponentUtil.getJobManager();
                for (final ScheduledJob scheduledJob : scheduledJobList) {
                    jobManager.findJobByUniqueOf(LaJobUnique.of(scheduledJob.getId())).ifPresent(job -> {
                        job.launchNow();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(RequestManager.class);
        }
    
        public static ResponseManager getResponseManager() {
            return getComponent(ResponseManager.class);
        }
    
        public static JobManager getJobManager() {
            return getComponent(JobManager.class);
        }
    
        public static DocumentHelper getDocumentHelper() {
            return getComponent(DOCUMENT_HELPER);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            ComponentUtil.getRelatedQueryHelper().update();
            ComponentUtil.getKeyMatchHelper().update();
    
            ComponentUtil.getLdapManager().updateConfig();
            if (resetJobs) {
                ComponentUtil.getJobManager().reboot();
            }
            updateSystemProperties();
    
            ComponentUtil.getRankFusionProcessor().update();
        }
    
        public void updateSystemProperties() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top