类 DefaultSlotService
java.lang.Object
org.apache.seatunnel.engine.server.service.slot.DefaultSlotService
- 所有已实现的接口:
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()doubledoublegetSlotContext(SlotProfile slotProfile) voidinit()voidreleaseSlot(long jobId, SlotProfile profile) requestSlot(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
- 指定者:
requestSlot在接口中SlotService
-
getSlotContext
- 指定者:
getSlotContext在接口中SlotService
-
releaseSlot
- 指定者:
releaseSlot在接口中SlotService
-
close
public void close()- 指定者:
close在接口中SlotService
-
getWorkerProfile
- 指定者:
getWorkerProfile在接口中SlotService
-
sendToMaster
public <E> com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<E> sendToMaster(com.hazelcast.spi.impl.operationservice.Operation operation) -
getMemPercentage
public double getMemPercentage() -
getCpuPercentage
public double getCpuPercentage()
-