ComponentCore¶
-
public abstract class
ComponentCore
extends ForkJoinTask<Void> implements Component¶ The
ComponentCore
class.Author: Cosmin Arad <cosmin@sics.se>, Jim Dowling <jdowling@sics.se>, Lars Kroll <lkroll@kth.se>
Fields¶
childUpdate¶
-
public static final ThreadLocal<Optional<ConfigUpdate>>
childUpdate
¶
children¶
-
protected List<ComponentCore>
children
¶
childrenLock¶
-
protected final ReentrantReadWriteLock
childrenLock
¶
parent¶
-
protected ComponentCore
parent
¶
parentThreadLocal¶
-
public static final ThreadLocal<ComponentCore>
parentThreadLocal
¶
readyPorts¶
-
protected SpinlockQueue<PortCore<?>>
readyPorts
¶
workCount¶
-
public AtomicInteger
workCount
¶
Methods¶
createControlPort¶
-
public abstract Negative<ControlPort>
createControlPort
()¶
createNegativePort¶
createPositivePort¶
destroyTree¶
-
protected void
destroyTree
(ComponentCore child)¶
destroyTreeAtParentOf¶
-
protected void
destroyTreeAtParentOf
(ComponentCore source)¶
doConfigUpdate¶
-
abstract void
doConfigUpdate
(ConfigUpdate update)¶
doCreate¶
doCreate¶
eventReceived¶
-
public void
eventReceived
(PortCore<?> port, KompicsEvent event, int wid)¶
getParent¶
-
public ComponentCore
getParent
()¶
markSubtreeAtAs¶
-
protected void
markSubtreeAtAs
(ComponentCore source, State s)¶