com.sun.xml.ws.api.pipe
public class TG_Engine extends com.sun.xml.ws.api.pipe.Engine
Fibers.
Owns an Executor to run them.| Constructor and 描述 |
|---|
TG_Engine(String id) |
TG_Engine(String id,
Executor threadPool) |
| Modifier and Type | Method and 描述 |
|---|---|
TG_Fiber |
createTGFiber()
Creates a new fiber in a suspended state.
|
void |
setExecutor(Executor threadPool) |
public final String id
public TG_Engine(String id)
public void setExecutor(Executor threadPool)
setExecutor 类 {1} 中的 {0} com.sun.xml.ws.api.pipe.Enginepublic TG_Fiber createTGFiber()
To start the returned fiber, call Fiber.start(Tube,Packet,Fiber.CompletionCallback).
It will start executing the given Tube with the given Packet.
Copyright © 2006–2015 TinyGroup. All rights reserved.