Skip to content

Commit

Permalink
Add method to get URL Status (returns an URLItem)
Browse files Browse the repository at this point in the history
Implemented only for MemoryFrontier and RocksDb

Unfortunately the internal storage doesn't make a distinction
between Discovered and Known URLs which have to be refetched

So all scheduled items will be returned as ill always return KwownURLItem or Status.NOT_FOUND runtime exception

Signed-off-by: Laurent Klock <[email protected]>
  • Loading branch information
klockla committed Aug 8, 2024
1 parent 3ec6f44 commit c242389
Show file tree
Hide file tree
Showing 16 changed files with 3,364 additions and 873 deletions.
4 changes: 2 additions & 2 deletions API/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<description>URLFrontier Java API</description>

<properties>
<grpc.version>1.53.0</grpc.version>
<protoc.version>3.20.3</protoc.version>
<grpc.version>1.65.1</grpc.version>
<protoc.version>3.25.4</protoc.version>
</properties>

<dependencies>
Expand Down
401 changes: 272 additions & 129 deletions API/src/main/java/crawlercommons/urlfrontier/URLFrontierGrpc.java

Large diffs are not rendered by default.

Loading

0 comments on commit c242389

Please sign in to comment.