Package com.sun.xml.ws.api.pipe
Class Engine
- java.lang.Object
-
- com.sun.xml.ws.api.pipe.Engine
-
public class Engine extends Object
- Author:
- Kohsuke Kawaguchi, Jitendra Kotamraju
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FibercreateFiber()Creates a new fiber in a suspended state.voidsetExecutor(Executor threadPool)
-
-
-
Field Detail
-
id
public final String id
-
-
Method Detail
-
setExecutor
public void setExecutor(Executor threadPool)
-
createFiber
public Fiber createFiber()
Creates a new fiber in a suspended state.To start the returned fiber, call
Fiber.start(Tube,Packet,Fiber.CompletionCallback). It will start executing the givenTubewith the givenPacket.- Returns:
- new Fiber
-
-