kafka.network

SocketServer

class SocketServer extends Logging

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.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SocketServer
  2. Logging
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SocketServer(brokerId: Int, host: String, port: Int, numProcessorThreads: Int, maxQueuedRequests: Int, sendBufferSize: Int, recvBufferSize: Int, maxRequestSize: Int = scala.Int.MaxValue)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val brokerId: Int

  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  10. def debug(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  11. def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  15. def error(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  16. def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  17. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  18. def fatal(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  19. def fatal(msg: ⇒ String): Unit

    Definition Classes
    Logging
  20. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. val host: String

  24. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  25. def info(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  26. def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  29. lazy val logger: Logger

    Definition Classes
    Logging
  30. val loggerName: String

    Definition Classes
    Logging
  31. val maxQueuedRequests: Int

  32. val maxRequestSize: Int

  33. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. val numProcessorThreads: Int

  37. val port: Int

  38. val recvBufferSize: Int

  39. val requestChannel: RequestChannel

  40. val sendBufferSize: Int

  41. def shutdown(): Unit

    Shutdown the socket server

  42. def startup(): Unit

    Start the socket server

  43. def swallow(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  44. def swallowDebug(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  45. def swallowError(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  46. def swallowInfo(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  47. def swallowTrace(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  48. def swallowWarn(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  52. def trace(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  53. def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  58. def warn(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  59. def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any