package net.lab1024.sa.base.module.support.operatelog.core;

import lombok.Builder;
import lombok.Data;
import net.lab1024.sa.base.module.support.operatelog.domain.OperateLogEntity;

import java.util.function.Function;

/**
 * 配置
 *
 * @Author YouChain: 罗伊
 * @Date 2021-12-08 20:48:52
 * @Email huoj@youchain56.com
 */
@Data
@Builder
public class OperateLogConfig {

    /**
     * 操作日志存储方法
     */
    private Function<OperateLogEntity, Boolean> saveFunction;

    /**
     * 核心线程数
     */
    private Integer corePoolSize;

    /**
     * 队列大小
     */
    private Integer queueCapacity;


}
