tech.mhuang.ext.elasticsearch.admin.external.IESExternal Maven / Gradle / Ivy
package tech.mhuang.ext.elasticsearch.admin.external;
import tech.mhuang.ext.elasticsearch.admin.factory.IESFactory;
import tech.mhuang.ext.elasticsearch.server.ESFactory;
/**
* es扩展
*
* @author mhuang
* @since 1.0.0
*/
public interface IESExternal {
/**
* 创建
*
* @param key
* @return
*/
default IESFactory create(String key) {
return new ESFactory();
}
}