类 IsolatedConnectorJarStorageStrategy

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

public class IsolatedConnectorJarStorageStrategy extends AbstractConnectorJarStorageStrategy
另请参阅:
  • 构造器详细资料

    • IsolatedConnectorJarStorageStrategy

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

    • storageConnectorJarFile

      public org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier storageConnectorJarFile(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar)
      从接口复制的说明: ConnectorJarStorageStrategy
      Storage the connector jar package file.
      参数:
      jobId - ID of the job for the connector jar
      connectorJar - connector jar
      返回:
      the storage path of connector jar file
    • checkConnectorJarExisted

      public boolean checkConnectorJarExisted(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar)
      从接口复制的说明: ConnectorJarStorageStrategy
      Check whether the same connector Jar package exists in the zeta engine.
      参数:
      jobId - ID of the job for the connector jar
      connectorJar - connector jar
      返回:
      true if the same connector Jar package exists in the engine, otherwise false
    • cleanUpWhenJobFinished

      public void cleanUpWhenJobFinished(long jobId, List<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier> connectorJarIdentifierList)
      从接口复制的说明: ConnectorJarStorageStrategy
      Carry out the cleaning work after the task is finished.
      参数:
      jobId - ID of the job for the connector jar
      connectorJarIdentifierList - List of all Jar package identifiers referenced by the current task
    • deleteConnectorJar

      public void deleteConnectorJar(org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier connectorJarIdentifier)
      从接口复制的说明: ConnectorJarStorageStrategy
      Delete the connector jar package by connectorJarIdentifier.
      参数:
      connectorJarIdentifier - the unique identifier of the connector jar.
    • getStorageLocationPath

      public String getStorageLocationPath(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar)
      从接口复制的说明: ConnectorJarStorageStrategy
      Return the path for the connector jar.
      参数:
      jobId - jobId
      connectorJar - connectorJar
      返回:
      the storage path of connector jar