Class

kafka.server

DelayedFetch

Related Doc: package server

Permalink

class DelayedFetch extends DelayedOperation

A delayed fetch operation that can be created by the replica manager and watched in the fetch operation purgatory

Linear Supertypes
DelayedOperation, Logging, TimerTask, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DelayedFetch
  2. DelayedOperation
  3. Logging
  4. TimerTask
  5. Runnable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DelayedFetch(delayMs: Long, fetchMetadata: FetchMetadata, replicaManager: ReplicaManager, responseCallback: (Map[TopicAndPartition, FetchResponsePartitionData]) ⇒ Unit)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cancel(): Unit

    Permalink
    Definition Classes
    TimerTask
  6. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  15. val expirationMs: Long

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

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

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

    Permalink
    Definition Classes
    Logging
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def forceComplete(): Boolean

    Permalink
    Definition Classes
    DelayedOperation
  21. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    Logging
  26. def isCompleted(): Boolean

    Permalink

    Check if the delayed operation is already completed

    Check if the delayed operation is already completed

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

    Permalink
    Definition Classes
    Any
  28. var logIdent: String

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

    Permalink
    Definition Classes
    Logging
  30. val loggerName: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def onComplete(): Unit

    Permalink

    Upon completion, read whatever data is available and pass to the complete callback

    Upon completion, read whatever data is available and pass to the complete callback

    Definition Classes
    DelayedFetchDelayedOperation
  35. def onExpiration(): Unit

    Permalink

    Call-back to execute when a delayed operation gets expired and hence forced to complete.

    Call-back to execute when a delayed operation gets expired and hence forced to complete.

    Definition Classes
    DelayedFetchDelayedOperation
  36. def run(): Unit

    Permalink
    Definition Classes
    DelayedOperation → Runnable
  37. def swallow(action: ⇒ Unit): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  48. def tryComplete(): Boolean

    Permalink

    The operation can be completed if:

    The operation can be completed if:

    Case A: This broker is no longer the leader for some partitions it tries to fetch Case B: This broker does not know of some partitions it tries to fetch Case C: The fetch offset locates not on the last segment of the log Case D: The accumulated bytes from all the fetching partitions exceeds the minimum bytes

    Upon completion, should return whatever data is available for each valid partition

    Definition Classes
    DelayedFetchDelayedOperation
  49. final def wait(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from DelayedOperation

Inherited from Logging

Inherited from TimerTask

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped