Class/Object

kafka.server

AbstractFetcherThread

Related Docs: object AbstractFetcherThread | package server

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. abstract type PD <: PartitionData

    Permalink
  2. abstract type REQ <: FetchRequest

    Permalink

Abstract Value Members

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

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

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

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

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

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addPartitions(partitionAndOffsets: Map[TopicAndPartition, Long]): Unit

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def awaitShutdown(): Unit

    Permalink

    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
  7. final def checkAccess(): Unit

    Permalink
    Definition Classes
    Thread
  8. def clone(): AnyRef

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

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

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

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

    Permalink
  13. def doWork(): Unit

    Permalink

    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
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  22. val fetcherLagStats: FetcherLagStats

    Permalink
  23. val fetcherStats: FetcherStats

    Permalink
  24. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Thread
  28. final def getName(): String

    Permalink
    Definition Classes
    Thread
  29. final def getPriority(): Int

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

    Permalink
    Definition Classes
    Thread
  31. def getState(): State

    Permalink
    Definition Classes
    Thread
  32. final def getThreadGroup(): ThreadGroup

    Permalink
    Definition Classes
    Thread
  33. def getUncaughtExceptionHandler(): UncaughtExceptionHandler

    Permalink
    Definition Classes
    Thread
  34. def hashCode(): Int

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

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

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

    Permalink
    Definition Classes
    Logging
  38. def initiateShutdown(): Boolean

    Permalink
    Definition Classes
    ShutdownableThread
  39. def interrupt(): Unit

    Permalink
    Definition Classes
    Thread
  40. final def isAlive(): Boolean

    Permalink
    Definition Classes
    Thread
  41. final def isDaemon(): Boolean

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

    Permalink
    Definition Classes
    Any
  43. def isInterrupted(): Boolean

    Permalink
    Definition Classes
    Thread
  44. val isInterruptible: Boolean

    Permalink
    Definition Classes
    ShutdownableThread
  45. val isRunning: AtomicBoolean

    Permalink
    Definition Classes
    ShutdownableThread
  46. final def join(): Unit

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  50. lazy val logger: Logger

    Permalink
    Definition Classes
    Logging
  51. val loggerName: String

    Permalink
    Definition Classes
    Logging
  52. val name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  56. def partitionCount(): Int

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

    Permalink
  58. def run(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Thread
  64. def shutdown(): Unit

    Permalink
  65. def start(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  73. def toString(): String

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Deprecated Value Members

  1. def countStackFrames(): Int

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def destroy(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def resume(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. final def stop(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. final def suspend(): Unit

    Permalink
    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