Class JtExecutorAdapter

java.lang.Object
org.noear.solon.luffy.impl.JtExecutorAdapter
All Implemented Interfaces:
org.noear.luffy.executor.IJtConfigAdapter, org.noear.luffy.executor.IJtExecutorAdapter

public class JtExecutorAdapter extends Object implements org.noear.luffy.executor.IJtExecutorAdapter, org.noear.luffy.executor.IJtConfigAdapter
执行工厂适配器
Since:
1.3
Author:
noear
  • Constructor Details

  • Method Details

    • log

      public void log(org.noear.luffy.model.AFileModel file, Map<String,Object> data)
      Specified by:
      log in interface org.noear.luffy.executor.IJtExecutorAdapter
    • logError

      public void logError(org.noear.luffy.model.AFileModel file, String msg, Throwable err)
      Specified by:
      logError in interface org.noear.luffy.executor.IJtExecutorAdapter
    • fileGet

      public org.noear.luffy.model.AFileModel fileGet(String path) throws Exception
      Specified by:
      fileGet in interface org.noear.luffy.executor.IJtExecutorAdapter
      Throws:
      Exception
    • fileFind

      public List<org.noear.luffy.model.AFileModel> fileFind(String tag, String label, boolean isCache) throws Exception
      Specified by:
      fileFind in interface org.noear.luffy.executor.IJtExecutorAdapter
      Throws:
      Exception
    • nodeId

      public String nodeId()
      Specified by:
      nodeId in interface org.noear.luffy.executor.IJtExecutorAdapter
    • defaultExecutor

      public String defaultExecutor()
      Specified by:
      defaultExecutor in interface org.noear.luffy.executor.IJtExecutorAdapter
    • defaultExecutorSet

      public void defaultExecutorSet(String defaultExecutor)
    • cfgGet

      public String cfgGet(String name, String def) throws Exception
      Specified by:
      cfgGet in interface org.noear.luffy.executor.IJtConfigAdapter
      Throws:
      Exception
    • cfgSet

      public boolean cfgSet(String name, String value) throws Exception
      Specified by:
      cfgSet in interface org.noear.luffy.executor.IJtConfigAdapter
      Throws:
      Exception
    • cfgMap

      public Map cfgMap(String name) throws Exception
      Specified by:
      cfgMap in interface org.noear.luffy.executor.IJtConfigAdapter
      Throws:
      Exception