kafka.server

ReplicaManager

class ReplicaManager extends Logging with KafkaMetricsGroup

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReplicaManager
  2. KafkaMetricsGroup
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReplicaManager(config: KafkaConfig, time: Time, zkClient: ZkClient, scheduler: Scheduler, logManager: LogManager, isShuttingDown: AtomicBoolean)

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. def becomeLeaderOrFollower(leaderAndISRRequest: LeaderAndIsrRequest, offsetManager: OffsetManager): (Map[(String, Int), Short], Short)

  8. def checkpointHighWatermarks(): Unit

    Flushes the highwatermark value for all partitions to the highwatermark file

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val config: KafkaConfig

  11. var controllerEpoch: Int

  12. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging
  23. var fetchRequestPurgatory: FetchRequestPurgatory

  24. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  26. def getLeaderReplicaIfLocal(topic: String, partitionId: Int): Replica

  27. def getOrCreatePartition(topic: String, partitionId: Int): Partition

  28. def getPartition(topic: String, partitionId: Int): Option[Partition]

  29. def getReplica(topic: String, partitionId: Int, replicaId: Int = config.brokerId): Option[Replica]

  30. def getReplicaOrException(topic: String, partition: Int): Replica

  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. val highWatermarkCheckpoints: Map[String, OffsetCheckpoint]

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

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

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

    Definition Classes
    Logging
  36. def initWithRequestPurgatory(producerRequestPurgatory: ProducerRequestPurgatory, fetchRequestPurgatory: FetchRequestPurgatory): Unit

    Initialize the replica manager with the request purgatory

    Initialize the replica manager with the request purgatory

    TODO: will be removed in 0.9 where we refactor server structure

  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. val isShuttingDown: AtomicBoolean

  39. val isrExpandRate: Meter

  40. val isrShrinkRate: Meter

  41. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  42. val logManager: LogManager

  43. lazy val logger: Logger

    Definition Classes
    Logging
  44. val loggerName: String

    Definition Classes
    Logging
  45. def maybeUpdateMetadataCache(updateMetadataRequest: UpdateMetadataRequest, metadataCache: MetadataCache): Unit

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

    Definition Classes
    AnyRef
  47. def newGauge[T](name: String, metric: Gauge[T], tags: Map[String, String] = Map.empty): Gauge[T]

    Definition Classes
    KafkaMetricsGroup
  48. def newHistogram(name: String, biased: Boolean = true, tags: Map[String, String] = Map.empty): Histogram

    Definition Classes
    KafkaMetricsGroup
  49. def newMeter(name: String, eventType: String, timeUnit: TimeUnit, tags: Map[String, String] = Map.empty): Meter

    Definition Classes
    KafkaMetricsGroup
  50. def newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit, tags: Map[String, String] = Map.empty): Timer

    Definition Classes
    KafkaMetricsGroup
  51. final def notify(): Unit

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

    Definition Classes
    AnyRef
  53. var producerRequestPurgatory: ProducerRequestPurgatory

  54. def readMessageSets(fetchRequest: FetchRequest): Map[TopicAndPartition, PartitionDataAndOffset]

    Read from all the offset details given and return a map of (topic, partition) -> PartitionData

  55. def removeMetric(name: String, tags: Map[String, String] = Map.empty): Unit

    Definition Classes
    KafkaMetricsGroup
  56. val replicaFetcherManager: ReplicaFetcherManager

  57. def shutdown(): Unit

  58. def startHighWaterMarksCheckPointThread(): Unit

  59. def startup(): Unit

  60. val stateChangeLogger: StateChangeLogger

  61. def stopReplica(topic: String, partitionId: Int, deletePartition: Boolean): Short

  62. def stopReplicas(stopReplicaRequest: StopReplicaRequest): (Map[TopicAndPartition, Short], Short)

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  70. def toString(): String

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

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

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

    Definition Classes
    Logging
  74. def unblockDelayedFetchRequests(key: TopicAndPartition): Unit

    Unblock some delayed fetch requests with the request key

  75. def unblockDelayedProduceRequests(key: TopicAndPartition): Unit

    Unblock some delayed produce requests with the request key

  76. def underReplicatedPartitionCount(): Int

  77. def updateReplicaLEOAndPartitionHW(topic: String, partitionId: Int, replicaId: Int, offset: LogOffsetMetadata): Unit

  78. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging
  84. val zkClient: ZkClient

Inherited from KafkaMetricsGroup

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped