Class PartitionCountWatcherImpl.Factory (1.13.8)

public static class PartitionCountWatcherImpl.Factory implements PartitionCountWatcher.Factory

Inheritance

java.lang.Object > PartitionCountWatcherImpl.Factory

Constructors

Factory(TopicPath topicPath, AdminClient adminClient, AlarmFactory alarmFactory)

public Factory(TopicPath topicPath, AdminClient adminClient, AlarmFactory alarmFactory)
Parameters
Name Description
topicPath TopicPath
adminClient AdminClient
alarmFactory AlarmFactory

Methods

newWatcher(Consumer<Long> receiver)

public PartitionCountWatcher newWatcher(Consumer<Long> receiver)
Parameter
Name Description
receiver Consumer<Long>
Returns
Type Description
PartitionCountWatcher