Instance Constructors
-
new
SocketServer
(brokerId: Int, host: String, port: Int, numProcessorThreads: Int, maxQueuedRequests: Int, sendBufferSize: Int, recvBufferSize: Int, maxRequestSize: Int, maxConnectionsPerIp: Int, connectionsMaxIdleMs: Long, maxConnectionsPerIpOverrides: Map[String, Int])
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
val
brokerId
: Int
-
def
clone
(): AnyRef
-
val
connectionsMaxIdleMs
: Long
-
def
debug
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
debug
(e: ⇒ Throwable): Any
-
def
debug
(msg: ⇒ String): Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
error
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
error
(e: ⇒ Throwable): Any
-
def
error
(msg: ⇒ String): Unit
-
def
fatal
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
fatal
(e: ⇒ Throwable): Any
-
def
fatal
(msg: ⇒ String): Unit
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
val
host
: String
-
def
info
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
info
(e: ⇒ Throwable): Any
-
def
info
(msg: ⇒ String): Unit
-
def
isInstanceOf
[T0]
: Boolean
-
var
logIdent
: String
-
lazy val
logger
: Logger
-
val
loggerName
: String
-
val
maxConnectionsPerIp
: Int
-
val
maxConnectionsPerIpOverrides
: Map[String, Int]
-
val
maxQueuedRequests
: Int
-
val
maxRequestSize
: Int
-
def
ne
(arg0: AnyRef): Boolean
-
def
newGauge
[T]
(name: String, metric: Gauge[T], tags: Map[String, String]): Gauge[T]
-
def
newHistogram
(name: String, biased: Boolean = true, tags: Map[String, String] = Map.empty): Histogram
-
def
newMeter
(name: String, eventType: String, timeUnit: TimeUnit, tags: Map[String, String] = Map.empty): Meter
-
def
newTimer
(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit, tags: Map[String, String] = Map.empty): Timer
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
numProcessorThreads
: Int
-
val
port
: Int
-
val
recvBufferSize
: Int
-
def
removeMetric
(name: String, tags: Map[String, String] = Map.empty): Unit
-
-
val
sendBufferSize
: Int
-
def
shutdown
(): Unit
-
def
startup
(): Unit
-
def
swallow
(action: ⇒ Unit): Unit
-
def
swallowDebug
(action: ⇒ Unit): Unit
-
def
swallowError
(action: ⇒ Unit): Unit
-
def
swallowInfo
(action: ⇒ Unit): Unit
-
def
swallowTrace
(action: ⇒ Unit): Unit
-
def
swallowWarn
(action: ⇒ Unit): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
trace
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
trace
(e: ⇒ Throwable): Any
-
def
trace
(msg: ⇒ String): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
warn
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
warn
(e: ⇒ Throwable): Any
-
def
warn
(msg: ⇒ String): Unit
Inherited from AnyRef
Inherited from Any
An NIO socket server. The threading model is 1 Acceptor thread that handles new connections N Processor threads that each have their own selector and read requests from sockets M Handler threads that handle requests and produce responses back to the processor threads for writing.