Instance Constructors
-
new
ReplicaManager(config: KafkaConfig, metrics: Metrics, time: Time, jTime: Time, zkUtils: ZkUtils, scheduler: Scheduler, logManager: LogManager, isShuttingDown: AtomicBoolean, threadNamePrefix: Option[String] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
appendMessages(timeout: Long, requiredAcks: Short, internalTopicsAllowed: Boolean, messagesPerPartition: Map[TopicAndPartition, MessageSet], responseCallback: (Map[TopicAndPartition, ProducerResponseStatus]) ⇒ Unit): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
becomeLeaderOrFollower(leaderAndISRRequest: LeaderAndIsrRequest, metadataCache: MetadataCache, onLeadershipChange: (Iterable[Partition], Iterable[Partition]) ⇒ Unit): BecomeLeaderOrFollowerResult
-
def
checkpointHighWatermarks(): Unit
-
def
clone(): AnyRef
-
-
var
controllerEpoch: Int
-
def
debug(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
debug(e: ⇒ Throwable): Any
-
def
debug(msg: ⇒ String): Unit
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
error(e: ⇒ Throwable): Any
-
def
error(msg: ⇒ String): Unit
-
def
fatal(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
fatal(e: ⇒ Throwable): Any
-
def
fatal(msg: ⇒ String): Unit
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getLeaderReplicaIfLocal(topic: String, partitionId: Int): Replica
-
def
getOrCreatePartition(topic: String, partitionId: Int): Partition
-
def
getPartition(topic: String, partitionId: Int): Option[Partition]
-
def
getReplica(topic: String, partitionId: Int, replicaId: Int = config.brokerId): Option[Replica]
-
def
getReplicaOrException(topic: String, partition: Int): Replica
-
def
hashCode(): Int
-
val
highWatermarkCheckpoints: Map[String, OffsetCheckpoint]
-
def
info(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
info(e: ⇒ Throwable): Any
-
def
info(msg: ⇒ String): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
val
isShuttingDown: AtomicBoolean
-
val
isrExpandRate: Meter
-
val
isrShrinkRate: Meter
-
val
leaderCount: Gauge[Int]
-
var
logIdent: String
-
-
lazy val
logger: Logger
-
val
loggerName: String
-
def
maybePropagateIsrChanges(): Unit
-
def
maybeUpdateMetadataCache(updateMetadataRequest: UpdateMetadataRequest, metadataCache: MetadataCache): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newGauge[T](name: String, metric: Gauge[T], tags: Map[String, String] = Map.empty): Gauge[T]
-
def
newHistogram(name: String, biased: Boolean = true, tags: Map[String, String] = Map.empty): Histogram
-
def
newMeter(name: String, eventType: String, timeUnit: TimeUnit, tags: Map[String, String] = Map.empty): Meter
-
def
newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit, tags: Map[String, String] = Map.empty): Timer
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
partitionCount: Gauge[Int]
-
-
def
recordIsrChange(topicAndPartition: TopicAndPartition): Unit
-
def
removeMetric(name: String, tags: Map[String, String] = Map.empty): Unit
-
-
def
shutdown(checkpointHW: Boolean = true): Unit
-
def
startHighWaterMarksCheckPointThread(): Unit
-
def
startup(): Unit
-
-
def
stopReplica(topic: String, partitionId: Int, deletePartition: Boolean): Short
-
-
def
swallow(action: ⇒ Unit): Unit
-
def
swallowDebug(action: ⇒ Unit): Unit
-
def
swallowError(action: ⇒ Unit): Unit
-
def
swallowInfo(action: ⇒ Unit): Unit
-
def
swallowTrace(action: ⇒ Unit): Unit
-
def
swallowWarn(action: ⇒ Unit): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
trace(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
trace(e: ⇒ Throwable): Any
-
def
trace(msg: ⇒ String): Unit
-
def
tryCompleteDelayedFetch(key: DelayedOperationKey): Unit
-
def
tryCompleteDelayedProduce(key: DelayedOperationKey): Unit
-
def
underReplicatedPartitionCount(): Int
-
val
underReplicatedPartitions: Gauge[Int]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
warn(e: ⇒ Throwable): Any
-
def
warn(msg: ⇒ String): Unit
-
Inherited from AnyRef
Inherited from Any