- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for DataService (0.17 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
import java.util.List; import org.codelibs.fess.crawler.entity.AccessResult; import org.codelibs.fess.crawler.util.AccessResultCallback; /** * @author shinsuke * */ public interface DataService<RESULT extends AccessResult<?>> { void store(RESULT accessResult); void update(RESULT accessResult); void update(List<RESULT> accessResult); int getCount(String sessionId);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
dataService.delete("id1"); assertNull(dataService.getAccessResult("id1", "http://www.id1.com/")); assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/")); dataService.store(accessResult1); assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/")); dataService.deleteAll();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java
accessResult1.setUrl("http://www.id1.com/"); dataService.store(accessResult1); final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNotNull(accessResult2); accessResult2.setMimeType("text/html"); dataService.update(accessResult2); final AccessResult accessResult3 = dataService.getAccessResult("id1", "http://www.id1.com/");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
import org.codelibs.fess.crawler.helper.MemoryDataHelper; import org.codelibs.fess.crawler.service.DataService; import org.codelibs.fess.crawler.util.AccessResultCallback; import jakarta.annotation.Resource; /** * @author shinsuke * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { protected static volatile long idCount = 0L;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1))); dataService.iterate(sessionId2, accessResult -> assertTrue(accessResult.getUrl().startsWith(url2))); dataService.delete(sessionId1); dataService.delete(sessionId2); } finally { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java
} } public static DataService<AccessResult<?>> getDataService() { return DATA_SERVICE_THREAD_LOCAL.get(); } public static void setDataService(final DataService<AccessResult<?>> dataService) { if (dataService == null) { DATA_SERVICE_THREAD_LOCAL.remove(); } else { DATA_SERVICE_THREAD_LOCAL.set(dataService); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
private static final Logger logger = LoggerFactory.getLogger(Crawler.class); @Resource protected UrlQueueService<UrlQueue<?>> urlQueueService; @Resource protected DataService<AccessResult<?>> dataService; @Resource protected UrlFilter urlFilter; @Resource protected RuleManager ruleManager; @Resource protected CrawlerContainer crawlerContainer; @Resource
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
} @Override public AccessResultData<String> getAccessResultData() { if (!initializedData) { final OpenSearchDataService dataService = SingletonLaContainer.getComponent(OpenSearchDataService.class); final OpenSearchAccessResult accessResult = dataService.getAccessResult(getSessionId(), getUrl()); if (accessResult != null && accessResult.accessResultData != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler.xml
</component> <!-- Service --> <component name="urlQueueService" class="org.codelibs.fess.crawler.service.impl.UrlQueueServiceImpl" instance="prototype" > </component> <component name="dataService" class="org.codelibs.fess.crawler.service.impl.DataServiceImpl" instance="prototype" > </component> <component name="urlFilterService" class="org.codelibs.fess.crawler.service.impl.UrlFilterServiceImpl" instance="prototype" >
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Nov 28 13:40:25 UTC 2017 - 1.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/resources/crawler_opensearch.xml
</component> <!-- Service --> <component name="urlQueueService" class="org.codelibs.fess.crawler.service.impl.OpenSearchUrlQueueService"> <arg>crawlerConfig</arg> </component> <component name="dataService" class="org.codelibs.fess.crawler.service.impl.OpenSearchDataService"> <arg>crawlerConfig</arg> </component> <component name="urlFilterService"
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 2.2K bytes - Viewed (0)