类 AbstractConnectorJarStorageStrategy
java.lang.Object
org.apache.seatunnel.engine.server.service.jar.AbstractConnectorJarStorageStrategy
- 所有已实现的接口:
Serializable,ConnectorJarStorageStrategy
public abstract class AbstractConnectorJarStorageStrategy
extends Object
implements ConnectorJarStorageStrategy
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明protected static final Stringprotected static final Stringprotected final org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfigprotected static final com.hazelcast.logging.ILoggerprotected final com.hazelcast.spi.impl.NodeEngineImplprotected final SeaTunnelServerprotected String -
构造器概要
构造器构造器说明AbstractConnectorJarStorageStrategy(org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfig connectorJarStorageConfig, SeaTunnelServer seaTunnelServer) -
方法概要
修饰符和类型方法说明voiddeleteConnectorJarInExecutionNode(org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier connectorJarIdentifier) Delete the connector jar package in execution node by connectorJarIdentifiervoiddeleteConnectorJarInternal(File storageFile) Delete the connector jar package in the local file system by connectorJarIdentifier.org.apache.seatunnel.engine.core.job.ConnectorJarIdentifiergetConnectorJarIdentifier(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) Obtain the unique identifier of the connector jar.getStorageLocation(long jobId, org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar) Return the physical storage location of the connector jar.storageConnectorJarFileInternal(org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar, File storageFile) Storage the connector jar package file in the local file system.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.seatunnel.engine.server.service.jar.ConnectorJarStorageStrategy
checkConnectorJarExisted, cleanUpWhenJobFinished, deleteConnectorJar, getStorageLocationPath, storageConnectorJarFile
-
字段详细资料
-
LOGGER
protected static final com.hazelcast.logging.ILogger LOGGER -
COMMON_PLUGIN_JAR_STORAGE_PATH
- 另请参阅:
-
CONNECTOR_PLUGIN_JAR_STORAGE_PATH
- 另请参阅:
-
storageDir
-
connectorJarStorageConfig
protected final org.apache.seatunnel.engine.common.config.server.ConnectorJarStorageConfig connectorJarStorageConfig -
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) 从接口复制的说明:ConnectorJarStorageStrategyReturn the physical storage location of the connector jar.- 指定者:
getStorageLocation在接口中ConnectorJarStorageStrategy- 参数:
jobId- ID of the job for the connector jarconnectorJar- 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) 从接口复制的说明:ConnectorJarStorageStrategyObtain the unique identifier of the connector jar.- 指定者:
getConnectorJarIdentifier在接口中ConnectorJarStorageStrategy- 参数:
jobId- ID of the job for the connector jarconnectorJar- connector jar- 返回:
- the unique identifier of the connector jar
-
storageConnectorJarFileInternal
public Optional<Path> storageConnectorJarFileInternal(org.apache.seatunnel.engine.core.job.ConnectorJar connectorJar, File storageFile) 从接口复制的说明:ConnectorJarStorageStrategyStorage the connector jar package file in the local file system.- 指定者:
storageConnectorJarFileInternal在接口中ConnectorJarStorageStrategy- 参数:
connectorJar- connector jarstorageFile- the storage location of the connector jar in the local file system- 返回:
- the storage path of connector jar file
-
deleteConnectorJarInternal
从接口复制的说明:ConnectorJarStorageStrategyDelete 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) 从接口复制的说明:ConnectorJarStorageStrategyDelete the connector jar package in execution node by connectorJarIdentifier- 指定者:
deleteConnectorJarInExecutionNode在接口中ConnectorJarStorageStrategy- 参数:
connectorJarIdentifier- the unique identifier of the connector jar.
-