-
- All Implemented Interfaces:
-
ai.platon.pulsar.crawl.EventHandlerPipeline,kotlin.Function,kotlin.Function2
public final class HtmlDocumentHandlerPipeline implements Function2<WebPage, FeaturedDocument, Unit>, EventHandlerPipeline
-
-
Constructor Summary
Constructors Constructor Description HtmlDocumentHandlerPipeline()
-
Method Summary
Modifier and Type Method Description IntegergetSize()BooleangetIsEmpty()BooleangetIsNotEmpty()final HtmlDocumentHandlerPipelineaddFirst(Function2<WebPage, FeaturedDocument, Unit> handler)final HtmlDocumentHandlerPipelineaddLast(Function2<WebPage, FeaturedDocument, Unit> handler)final Unitremove(Function2<WebPage, FeaturedDocument, Unit> handler)Unitinvoke(WebPage page, FeaturedDocument document)-
-
Method Detail
-
getIsEmpty
Boolean getIsEmpty()
-
getIsNotEmpty
Boolean getIsNotEmpty()
-
addFirst
final HtmlDocumentHandlerPipeline addFirst(Function2<WebPage, FeaturedDocument, Unit> handler)
-
addLast
final HtmlDocumentHandlerPipeline addLast(Function2<WebPage, FeaturedDocument, Unit> handler)
-
-
-
-