io.github.yangyouwang.core.BaseWorkerWrapper Maven / Gradle / Ivy
package io.github.yangyouwang.core;
import io.github.yangyouwang.annotion.Wrapper;
import io.github.yangyouwang.consts.ConfigConsts;
import org.springframework.util.StringUtils;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
/**
* 任务
* @author yangyouwang
*/
public abstract class BaseWorkerWrapper implements Runnable {
/**
* 定义每一个ConcurrentLinkedQueue队列去引用Master中的ConcurrentLinkedQueue
*/
protected ConcurrentLinkedQueue