case classAffinity(value: Long) extends SocketOption with Product with Serializable
The akka.zeromq.Affinity option shall set the I/O thread affinity for newly created connections on the specified socket.
Affinity determines which threads from the ØMQ I/O thread pool associated with the socket's context shall handle
newly created connections. A value of zero specifies no affinity, meaning that work shall be distributed fairly
among all ØMQ I/O threads in the thread pool. For non-zero values, the lowest bit corresponds to thread 1,
second lowest bit to thread 2 and so on. For example, a value of 3 specifies that subsequent connections
on socket shall be handled exclusively by I/O threads 1 and 2.
value
Linear Supertypes
Serializable, Serializable, Product, Equals, SocketOption, Request, AnyRef, Any
The akka.zeromq.Affinity option shall set the I/O thread affinity for newly created connections on the specified socket.
Affinity determines which threads from the ØMQ I/O thread pool associated with the socket's context shall handle newly created connections. A value of zero specifies no affinity, meaning that work shall be distributed fairly among all ØMQ I/O threads in the thread pool. For non-zero values, the lowest bit corresponds to thread 1, second lowest bit to thread 2 and so on. For example, a value of 3 specifies that subsequent connections on socket shall be handled exclusively by I/O threads 1 and 2.