public class ConsumerThread extends ThreadContainer
containerPool, masterActorSelection| 构造器和说明 |
|---|
ConsumerThread(BlockingContainerQueue queue,
ContainerPool containerPool,
String taskMasterAkkaPath) |
ConsumerThread(JobContext context,
ContainerPool containerPool) |
public ConsumerThread(JobContext context, ContainerPool containerPool) throws Exception
Exceptionpublic ConsumerThread(BlockingContainerQueue queue, ContainerPool containerPool, String taskMasterAkkaPath) throws Exception
Exceptionpublic void run()
run 在接口中 Runnablerun 在类中 ThreadContainerpublic void stopRunning()
Copyright © 2021. All rights reserved.