Modifier and Type | Field and Description |
---|---|
private static org.jetlang.fibers.PoolFiberFactory |
FACT |
private static ConcurrentHashMap<Lane<String,ExecutorService>,org.jetlang.fibers.PoolFiberFactory> |
lanePoolFactoryMap |
private static ExecutorService |
SERVICE |
Constructor and Description |
---|
Fibers() |
Modifier and Type | Method and Description |
---|---|
static org.jetlang.fibers.Fiber |
pooledFiber()
Creates and starts a fiber and returns the created instance.
|
static org.jetlang.fibers.Fiber |
pooledFiber(Lane<String,ExecutorService> lane)
Creates and starts a fiber and returns the created instance.
|
static org.jetlang.fibers.Fiber |
threadFiber() |
private static final ExecutorService SERVICE
private static final org.jetlang.fibers.PoolFiberFactory FACT
private static final ConcurrentHashMap<Lane<String,ExecutorService>,org.jetlang.fibers.PoolFiberFactory> lanePoolFactoryMap
public static org.jetlang.fibers.Fiber pooledFiber()
public static org.jetlang.fibers.Fiber pooledFiber(Lane<String,ExecutorService> lane)
public static org.jetlang.fibers.Fiber threadFiber()
Copyright © 2013. All Rights Reserved.