Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addIntervalRule (0.07 sec)

  1. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            intervalControlHelper.addIntervalRule("01:30", "15:15", "*", 1000);
            assertEquals(0, intervalControlHelper.getDelay());
    
            intervalControlHelper.addIntervalRule("16:30", "0:15", "*", 2000);
            assertEquals(2000, intervalControlHelper.getDelay());
    
            intervalControlHelper.ruleList.clear();
    
            intervalControlHelper.addIntervalRule("22:15", "2:45", "1", 3000);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/env/crawler/resources/app.xml

    	</component>
    	<component name="intervalControlHelper" class="org.codelibs.fess.helper.IntervalControlHelper">
    		<!--
    		<postConstruct name="addIntervalRule">
    			<arg>"5:00"</arg>
    			<arg>"10:00"</arg>
    			<arg>"2,3,4,5,6"</arg>
    			<arg>3600000</arg>
    		</postConstruct>
    		 -->
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Apr 09 02:14:47 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            final Calendar cal = Calendar.getInstance();
            cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            return cal;
        }
    
        public void addIntervalRule(final String from, final String to, final String days, final long delay) {
            ruleList.add(new IntervalRule(from, to, days, delay));
        }
    
        public boolean isCrawlerRunning() {
            return crawlerRunning;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top