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

com.sinszm.sofa.annotation.EnableDFS Maven / Gradle / Ivy

Go to download

高可用服务框架,分布式文件存储操作组件 Copyright © 2021 智慧程序猿(sinsz.com) All rights reserved.

The newest version!
package com.sinszm.sofa.annotation;

import com.sinszm.sofa.condition.ConditionalOnDfs;
import com.sinszm.sofa.enums.DfsType;
import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

/**
 * DFS启用开关
 *
 * @author fh411
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(ConditionalOnDfs.class)
public @interface EnableDFS {

    /**
     * 分布式文件服务类型指定
     * @return  支持需要
     */
    DfsType value() default DfsType.MINIO;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy