![JAR search and dependency download from the Maven repository](/logo.png)
fr.whimtrip.ext.jwhtscrapper.enm.PausingBehavior Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whimtrip-ext-scrapper Show documentation
Show all versions of whimtrip-ext-scrapper Show documentation
Fully featured highly pluggable and customizable Java scrapping framework
The newest version!
package fr.whimtrip.ext.jwhtscrapper.enm;
import fr.whimtrip.ext.jwhtscrapper.annotation.RequestsConfig;
/**
* Part of project jwht-scrapper
* Created on 29/07/18
*
*
* This enumeration defines all possible pausing behaviors that can be
* taken when a warning sign is triggered.
*
*
* @author Louis-wht
* @since 1.0.0
*
*/
public enum PausingBehavior {
/**
* Won't wait at all.
*/
DONT_WAIT,
/**
* Will pause current failed scrap for a time delay
* specified by {@link RequestsConfig#warningSignDelay()}.
*
*/
PAUSE_CURRENT_THREAD_ONLY,
/**
* Will pause all current running scraps for a time delay
* specified by {@link RequestsConfig#warningSignDelay()}.
* Once the delay is over, the scraps will progressively
* start back.
*/
PAUSE_ALL_THREADS
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy