All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.jiangzeyin.pool.PolicyHandler Maven / Gradle / Ivy

package cn.jiangzeyin.pool;

/**
 * 线程池拒绝策略
 *
 * @author jiangzeyin
 * @date 2017/12/2
 */
public enum PolicyHandler {
    /**
     * 取消
     */
    Caller,
    Abort,
    Discard,
    /**
     * 丢弃
     */
    DiscardOldest
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy