类 AbstractConnectorJarStorageStrategy

java.lang.Object
org.apache.seatunnel.engine.server.service.jar.AbstractConnectorJarStorageStrategy
所有已实现的接口:
Serializable, ConnectorJarStorageStrategy
直接已知子类:
IsolatedConnectorJarStorageStrategy, SharedConnectorJarStorageStrategy

public abstract class AbstractConnectorJarStorageStrategy extends Object implements ConnectorJarStorageStrategy
另请参阅:
  • 字段详细资料

    • LOGGER

      protected static final com.hazelcast.logging.ILogger LOGGER
    • COMMON_PLUGIN_JAR_STORAGE_PATH

      protected static final String COMMON_PLUGIN_JAR_STORAGE_PATH
      另请参阅:
    • CONNECTOR_PLUGIN_JAR_STORAGE_PATH

      protected static final String CONNECTOR_PLUGIN_JAR_STORAGE_PATH
      另请参阅:
    • storageDir

      protected String storageDir
    • connectorJarStorageConfig

      protected final org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfig connectorJarStorageConfig
    • seaTunnelServer

      protected final SeaTunnelServer seaTunnelServer
    • nodeEngine

      protected final com.hazelcast.spi.impl.NodeEngineImpl nodeEngine
  • 构造器详细资料

    • AbstractConnectorJarStorageStrategy

      public AbstractConnectorJarStorageStrategy(org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfig connectorJarStorageConfig, SeaTunnelServer seaTunnelServer)
  • 方法详细资料

    • getStorageLocation

      public File getStorageLocation(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar)
      从接口复制的说明: ConnectorJarStorageStrategy
      Return the physical storage location of the connector jar.
      指定者:
      getStorageLocation 在接口中 ConnectorJarStorageStrategy
      参数:
      jobId - ID of the job for the connector jar
      connectorJar - connector jar
      返回:
      the (designated) physical storage location of the connector jar
    • getConnectorJarIdentifier

      public org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier getConnectorJarIdentifier(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar)
      从接口复制的说明: ConnectorJarStorageStrategy
      Obtain the unique identifier of the connector jar.
      指定者:
      getConnectorJarIdentifier 在接口中 ConnectorJarStorageStrategy
      参数:
      jobId - ID of the job for the connector jar
      connectorJar - connector jar
      返回:
      the unique identifier of the connector jar
    • storageConnectorJarFileInternal

      public Optional<Path> storageConnectorJarFileInternal(org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar, File storageFile)
      从接口复制的说明: ConnectorJarStorageStrategy
      Storage the connector jar package file in the local file system.
      指定者:
      storageConnectorJarFileInternal 在接口中 ConnectorJarStorageStrategy
      参数:
      connectorJar - connector jar
      storageFile - the storage location of the connector jar in the local file system
      返回:
      the storage path of connector jar file
    • deleteConnectorJarInternal

      public void deleteConnectorJarInternal(File storageFile)
      从接口复制的说明: ConnectorJarStorageStrategy
      Delete the connector jar package in the local file system by connectorJarIdentifier.
      指定者:
      deleteConnectorJarInternal 在接口中 ConnectorJarStorageStrategy
      参数:
      storageFile - the storage location of the connector jar
    • deleteConnectorJarInExecutionNode

      public void deleteConnectorJarInExecutionNode(org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier connectorJarIdentifier)
      从接口复制的说明: ConnectorJarStorageStrategy
      Delete the connector jar package in execution node by connectorJarIdentifier
      指定者:
      deleteConnectorJarInExecutionNode 在接口中 ConnectorJarStorageStrategy
      参数:
      connectorJarIdentifier - the unique identifier of the connector jar.