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

lodsve.dfs.annotations.EnableDfs Maven / Gradle / Ivy

There is a newer version: 2.7.6-RELEASE
Show newest version
package lodsve.dfs.annotations;

import lodsve.core.configuration.EnableLodsve;
import lodsve.dfs.enums.DfsType;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用fs.
 *
 * @author sunhao([email protected])
 * @version 1.0 2017-12-4-0004 10:42
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited
@EnableLodsve
@Import(DfsConfigurationSelector.class)
public @interface EnableDfs {

    /**
     * 指定使用的文件系统类型{@link lodsve.dfs.enums.DfsType},默认为FAST_DFS
     *
     * @return 类型
     */
    DfsType value() default DfsType.FAST_DFS;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy