Object StreamingCrawler.Companion
-
- All Implemented Interfaces:
public class StreamingCrawler.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static StreamingCrawler.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitresetGlobalState()Reset the global state to the initial state. final UnitclearIllegalState()Clears all the illegal states shared by all StreamingCrawlers. -
-
Method Detail
-
resetGlobalState
final Unit resetGlobalState()
Reset the global state to the initial state. The global state is shared by all StreamingCrawlers.
-
clearIllegalState
final Unit clearIllegalState()
Clears all the illegal states shared by all StreamingCrawlers. Only when there is no illegal states set, the newly created crawler can work properly. Other object scope data will keep unchanged, so we can still know what happened.
-
-
-
-