kafka.server

AbstractFetcherThread

abstract class AbstractFetcherThread extends ShutdownableThread

Abstract class for fetching data from multiple partitions from the same broker.

Linear Supertypes
ShutdownableThread, Logging, Thread, Runnable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractFetcherThread
  2. ShutdownableThread
  3. Logging
  4. Thread
  5. Runnable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFetcherThread(name: String, clientId: String, sourceBroker: BrokerEndPoint, fetchBackOffMs: Int = 0, isInterruptible: Boolean = true)

Type Members

  1. abstract type PD <: PartitionData

  2. abstract type REQ <: FetchRequest

Abstract Value Members

  1. abstract def buildFetchRequest(partitionMap: Map[TopicAndPartition, PartitionFetchState]): REQ

    Attributes
    protected
  2. abstract def fetch(fetchRequest: REQ): Map[TopicAndPartition, PD]

    Attributes
    protected
  3. abstract def handleOffsetOutOfRange(topicAndPartition: TopicAndPartition): Long

  4. abstract def handlePartitionsWithErrors(partitions: Iterable[TopicAndPartition]): Unit

  5. abstract def processPartitionData(topicAndPartition: TopicAndPartition, fetchOffset: Long, partitionData: PD): Unit

Concrete 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. def addPartitions(partitionAndOffsets: Map[TopicAndPartition, Long]): Unit

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def awaitShutdown(): Unit

    After calling initiateShutdown(), use this API to wait until the shutdown is complete

    After calling initiateShutdown(), use this API to wait until the shutdown is complete

    Definition Classes
    ShutdownableThread
  9. final def checkAccess(): Unit

    Definition Classes
    Thread
  10. def clone(): AnyRef

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

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

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

    Definition Classes
    Logging
  14. def delayPartitions(partitions: Iterable[TopicAndPartition], delay: Long): Unit

  15. def doWork(): Unit

    This method is repeatedly invoked until the thread shuts down or this method throws an exception

    This method is repeatedly invoked until the thread shuts down or this method throws an exception

    Definition Classes
    AbstractFetcherThreadShutdownableThread
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Definition Classes
    Logging
  24. val fetcherLagStats: FetcherLagStats

  25. val fetcherStats: FetcherStats

  26. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  28. def getContextClassLoader(): ClassLoader

    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  29. def getId(): Long

    Definition Classes
    Thread
  30. final def getName(): String

    Definition Classes
    Thread
  31. final def getPriority(): Int

    Definition Classes
    Thread
  32. def getStackTrace(): Array[StackTraceElement]

    Definition Classes
    Thread
  33. def getState(): State

    Definition Classes
    Thread
  34. final def getThreadGroup(): ThreadGroup

    Definition Classes
    Thread
  35. def getUncaughtExceptionHandler(): UncaughtExceptionHandler

    Definition Classes
    Thread
  36. def hashCode(): Int

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

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

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

    Definition Classes
    Logging
  40. def initiateShutdown(): Boolean

    Definition Classes
    ShutdownableThread
  41. def interrupt(): Unit

    Definition Classes
    Thread
  42. final def isAlive(): Boolean

    Definition Classes
    Thread
  43. final def isDaemon(): Boolean

    Definition Classes
    Thread
  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. def isInterrupted(): Boolean

    Definition Classes
    Thread
  46. val isRunning: AtomicBoolean

    Definition Classes
    ShutdownableThread
  47. final def join(): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  48. final def join(arg0: Long, arg1: Int): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  49. final def join(arg0: Long): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  50. var logIdent: String

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

    Definition Classes
    Logging
  52. val loggerName: String

    Definition Classes
    Logging
  53. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  56. def partitionCount(): Int

  57. def removePartitions(topicAndPartitions: Set[TopicAndPartition]): Unit

  58. def run(): Unit

    Definition Classes
    ShutdownableThread → Thread → Runnable
  59. def setContextClassLoader(arg0: ClassLoader): Unit

    Definition Classes
    Thread
  60. final def setDaemon(arg0: Boolean): Unit

    Definition Classes
    Thread
  61. final def setName(arg0: String): Unit

    Definition Classes
    Thread
  62. final def setPriority(arg0: Int): Unit

    Definition Classes
    Thread
  63. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit

    Definition Classes
    Thread
  64. def shutdown(): Unit

  65. def start(): Unit

    Definition Classes
    Thread
  66. def swallow(action: ⇒ Unit): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  73. def toString(): String

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging

Deprecated Value Members

  1. def countStackFrames(): Int

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def destroy(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def resume(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. final def stop(arg0: Throwable): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. final def stop(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. final def suspend(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ShutdownableThread

Inherited from Logging

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped