- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for dataService (0.09 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/test/java/org/codelibs/fess/crawler/CrawlerTest.java
import org.codelibs.fess.crawler.util.CrawlerWebServer; import org.dbflute.utflute.core.PlainTestCase; public class CrawlerTest extends PlainTestCase { public Crawler crawler; public DataService dataService; public UrlQueueService urlQueueService; public FileTransformer fileTransformer; private StandardCrawlerContainer container; @Override protected void setUp() throws Exception {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
import jakarta.annotation.Resource; public class CrawlerTest extends LastaDiTestCase { @Resource private Crawler crawler; @Resource private DataService dataService; @Resource private UrlQueueService urlQueueService; @Resource private FileTransformer fileTransformer; @Resource private CrawlerContainer crawlerContainer; @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} try { dataService.delete(sessionId); } catch (final Exception e) { logger.warn("Failed to delete data: {}", sessionId, e); } } @Override public void run() { if (dataService == null) { throw new FessSystemException("DataService is null."); } if (logger.isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K 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-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
private static final Logger logger = LoggerFactory.getLogger(OpenSearchUrlQueueService.class); @Resource protected OpenSearchDataService dataService; protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>(); protected int pollingFetchSize = 1000; protected int maxCrawlingQueueSize = 100;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0)