EventLoopGroup

Constructors

this
this(size_t ioThreadSize, size_t workerThreadSize)
Undocumented in source.

Members

Functions

IsReady
bool IsReady()
Undocumented in source. Be warned that the author may not have intended to support it.
IsRunning
bool IsRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
Loops
EventLoop[] Loops()
Undocumented in source. Be warned that the author may not have intended to support it.
OpIndex
EventLoop OpIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
Start
void Start()
Undocumented in source. Be warned that the author may not have intended to support it.
Start
void Start(long timeout)

timeout: in millisecond

Stop
void Stop()
Undocumented in source. Be warned that the author may not have intended to support it.
nextLoop
EventLoop nextLoop(size_t factor)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(EventLoop) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
worker
Worker worker()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

size
size_t size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Lifecycle

Start
void Start()

Start this component. <p>Should not throw an exception if the component is already running. <p>In the case of a container, this will propagate the start signal to all components that apply.

Stop
void Stop()

Stop this component, typically in a synchronous fashion, such that the component is fully stopped upon return of this method.

IsRunning
bool IsRunning()

Check whether this component is currently running. @return whether the component is currently running

Meta