类 DefaultSlotService
- java.lang.Object
-
- org.apache.seatunnel.engine.server.service.slot.DefaultSlotService
-
- 所有已实现的接口:
SlotService
public class DefaultSlotService extends Object implements SlotService
The slot service of seatunnel server, used for manage slot in worker.
-
-
构造器概要
构造器 构造器 说明 DefaultSlotService(com.hazelcast.spi.impl.NodeEngineImpl nodeEngine, TaskExecutionService taskExecutionService, org.apache.seatunnel.engine.common.config.server.SlotServiceConfig config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()SlotContextgetSlotContext(SlotProfile slotProfile)WorkerProfilegetWorkerProfile()voidinit()voidreleaseSlot(long jobId, SlotProfile profile)SlotAndWorkerProfilerequestSlot(long jobId, ResourceProfile resourceProfile)voidreset()<E> com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<E>sendToMaster(com.hazelcast.spi.impl.operationservice.Operation operation)
-
-
-
构造器详细资料
-
DefaultSlotService
public DefaultSlotService(com.hazelcast.spi.impl.NodeEngineImpl nodeEngine, TaskExecutionService taskExecutionService, org.apache.seatunnel.engine.common.config.server.SlotServiceConfig config)
-
-
方法详细资料
-
init
public void init()
- 指定者:
init在接口中SlotService
-
reset
public void reset()
- 指定者:
reset在接口中SlotService
-
requestSlot
public SlotAndWorkerProfile requestSlot(long jobId, ResourceProfile resourceProfile)
- 指定者:
requestSlot在接口中SlotService
-
getSlotContext
public SlotContext getSlotContext(SlotProfile slotProfile)
- 指定者:
getSlotContext在接口中SlotService
-
releaseSlot
public void releaseSlot(long jobId, SlotProfile profile)- 指定者:
releaseSlot在接口中SlotService
-
close
public void close()
- 指定者:
close在接口中SlotService
-
getWorkerProfile
public WorkerProfile getWorkerProfile()
- 指定者:
getWorkerProfile在接口中SlotService
-
sendToMaster
public <E> com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<E> sendToMaster(com.hazelcast.spi.impl.operationservice.Operation operation)
-
-