Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for joblog (0.08 sec)

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

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.es.config.bsentity.BsJobLog;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class JobLog extends BsJobLog {
    
        private static final long serialVersionUID = 1L;
    
        private ScheduledJob scheduledJob;
    
        public JobLog() {
        }
    
        public JobLog(final ScheduledJob scheduledJob) {
            this.scheduledJob = scheduledJob;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

        protected Class<? extends JobLog> typeOfSelectedEntity() {
            return JobLog.class;
        }
    
        @Override
        protected Class<JobLog> typeOfHandlingEntity() {
            return JobLog.class;
        }
    
        @Override
        protected Class<JobLogCB> typeOfHandlingConditionBean() {
            return JobLogCB.class;
        }
    
        public ListResultBean<JobLog> selectList(CBCall<JobLogCB> cbLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

        //                                                                      ==============
    
        // GET /api/admin/joblog/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class);
            final List<JobLog> list = jobLogService.getJobLogList(pager);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                        logger.warn("Failed to stop {}", jobLog, e);
                    }
                }
                jobLog.setEndTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
                if (logger.isDebugEnabled()) {
                    logger.debug("jobLog: {}", jobLog);
                }
                if (scheduledJob.isLoggingEnabled()) {
                    jobHelper.store(jobLog);
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/JobLogDbm.java

        {
            setupEpg(_epgMap, et -> ((JobLog) et).getEndTime(), (et, vl) -> ((JobLog) et).setEndTime(DfTypeUtil.toLong(vl)), "endTime");
            setupEpg(_epgMap, et -> ((JobLog) et).getJobName(), (et, vl) -> ((JobLog) et).setJobName(DfTypeUtil.toString(vl)), "jobName");
            setupEpg(_epgMap, et -> ((JobLog) et).getJobStatus(), (et, vl) -> ((JobLog) et).setJobStatus(DfTypeUtil.toString(vl)), "jobStatus");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        }
    
        public OptionalEntity<JobLog> getJobLog(final String id) {
            return jobLogBhv.selectByPK(id);
        }
    
        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/JobHelper.java

        }
    
        static class MonitorTarget implements TimeoutTarget {
    
            private final JobLog jobLog;
    
            public MonitorTarget(final JobLog jobLog) {
                this.jobLog = jobLog;
            }
    
            @Override
            public void expired() {
                if (jobLog.getEndTime() == null) {
                    jobLog.setLastUpdated(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

    import org.junit.jupiter.api.Test;
    
    import io.restassured.RestAssured;
    import io.restassured.path.json.JsonPath;
    
    /**
     * Integration Tests which need an execution of crawler
     * - /api/admin/joblog
     * - /api/admin/crawlinginfo
     * - /api/admin/failureurl
     * - /api/admin/searchlist
     * */
    @Tag("it")
    public class CrawlerLogTests extends CrawlTestBase {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/joblog/SearchForm.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.joblog;
    
    /**
     * @author codelibs
     * @author Shunji Makino
     */
    public class SearchForm {
    
        public String id;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 773 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.joblog;
    
    import org.codelibs.fess.app.web.admin.joblog.EditForm;
    
    public class EditBody extends EditForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 775 bytes
    - Viewed (0)
Back to top