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, kafkaScheduler: KafkaScheduler, 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): (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. def finalize(): Unit

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

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

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

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

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

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

  30. def getReplicationFactorForPartition(topic: String, partitionId: Int): Int

    This function is only used in two places: in Partition.

    This function is only used in two places: in Partition.updateISR() and KafkaApis.handleProducerRequest(). In the former case, the partition should have been created, in the latter case, return -1 will put the request into purgatory

  31. def hashCode(): Int

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

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

    Definition Classes
    Any
  37. val isShuttingDown: AtomicBoolean

  38. val isrExpandRate: Meter

  39. val isrShrinkRate: Meter

  40. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  41. val logManager: LogManager

  42. lazy val logger: Logger

    Definition Classes
    Logging
  43. val loggerName: String

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

    Definition Classes
    AnyRef
  45. def newGauge[T](name: String, metric: Gauge[T]): Gauge[T]

    Definition Classes
    KafkaMetricsGroup
  46. def newHistogram(name: String, biased: Boolean = true): Histogram

    Definition Classes
    KafkaMetricsGroup
  47. def newMeter(name: String, eventType: String, timeUnit: TimeUnit): Meter

    Definition Classes
    KafkaMetricsGroup
  48. def newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit): Timer

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

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

    Definition Classes
    AnyRef
  51. def recordFollowerPosition(topic: String, partitionId: Int, replicaId: Int, offset: Long): Unit

  52. val replicaFetcherManager: ReplicaFetcherManager

  53. def shutdown(): Unit

  54. def startHighWaterMarksCheckPointThread(): Any

  55. def startup(): Unit

  56. val stateChangeLogger: Logger

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

  58. def stopReplicas(stopReplicaRequest: StopReplicaRequest): (Map[(String, Int), Short], Short)

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  66. def toString(): String

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging
  76. val zkClient: ZkClient

Inherited from KafkaMetricsGroup

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped