类 IsolatedConnectorJarStorageStrategy
java.lang.Object
org.apache.seatunnel.engine.server.service.jar.AbstractConnectorJarStorageStrategy
org.apache.seatunnel.engine.server.service.jar.IsolatedConnectorJarStorageStrategy
- 所有已实现的接口:
Serializable,ConnectorJarStorageStrategy
- 另请参阅:
-
字段概要
从类继承的字段 org.apache.seatunnel.engine.server.service.jar.AbstractConnectorJarStorageStrategy
COMMON_PLUGIN_JAR_STORAGE_PATH, CONNECTOR_PLUGIN_JAR_STORAGE_PATH, connectorJarStorageConfig, LOGGER, nodeEngine, seaTunnelServer, storageDir -
构造器概要
构造器构造器说明IsolatedConnectorJarStorageStrategy(org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfig connectorJarStorageConfig, SeaTunnelServer seaTunnelServer) -
方法概要
修饰符和类型方法说明booleancheckConnectorJarExisted(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) Check whether the same connector Jar package exists in the zeta engine.voidcleanUpWhenJobFinished(long jobId, List<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier> connectorJarIdentifierList) Carry out the cleaning work after the task is finished.voiddeleteConnectorJar(org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier connectorJarIdentifier) Delete the connector jar package by connectorJarIdentifier.getStorageLocationPath(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) Return the path for the connector jar.org.apache.seatunnel.engine.core.job.ConnectorJarIdentifierstorageConnectorJarFile(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) Storage the connector jar package file.从类继承的方法 org.apache.seatunnel.engine.server.service.jar.AbstractConnectorJarStorageStrategy
deleteConnectorJarInExecutionNode, deleteConnectorJarInternal, getConnectorJarIdentifier, getStorageLocation, storageConnectorJarFileInternal
-
构造器详细资料
-
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) 从接口复制的说明:ConnectorJarStorageStrategyStorage the connector jar package file.- 参数:
jobId- ID of the job for the connector jarconnectorJar- connector jar- 返回:
- the storage path of connector jar file
-
checkConnectorJarExisted
public boolean checkConnectorJarExisted(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) 从接口复制的说明:ConnectorJarStorageStrategyCheck whether the same connector Jar package exists in the zeta engine.- 参数:
jobId- ID of the job for the connector jarconnectorJar- 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) 从接口复制的说明:ConnectorJarStorageStrategyCarry out the cleaning work after the task is finished.- 参数:
jobId- ID of the job for the connector jarconnectorJarIdentifierList- List of all Jar package identifiers referenced by the current task
-
deleteConnectorJar
public void deleteConnectorJar(org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier connectorJarIdentifier) 从接口复制的说明:ConnectorJarStorageStrategyDelete 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) 从接口复制的说明:ConnectorJarStorageStrategyReturn the path for the connector jar.- 参数:
jobId- jobIdconnectorJar- connectorJar- 返回:
- the storage path of connector jar
-