public class SupervisorControllerFactory extends java.lang.Object implements org.glassfish.hk2.api.Factory<SupervisorController>
| Constructor and Description |
|---|
SupervisorControllerFactory(pl.allegro.tech.hermes.domain.notifications.InternalNotificationsBus notificationsBus,
ConsumerNodesRegistry consumerNodesRegistry,
ConsumerAssignmentRegistry assignmentRegistry,
ConsumerAssignmentCache consumerAssignmentCache,
ClusterAssignmentCache clusterAssignmentCache,
SubscriptionsCache subscriptionsCache,
ConsumersSupervisor supervisor,
pl.allegro.tech.hermes.common.admin.zookeeper.ZookeeperAdminCache adminCache,
pl.allegro.tech.hermes.common.metric.HermesMetrics metrics,
pl.allegro.tech.hermes.common.config.ConfigFactory configs,
pl.allegro.tech.hermes.domain.workload.constraints.WorkloadConstraintsRepository workloadConstraintsRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(SupervisorController instance) |
SupervisorController |
provide() |
@Inject
public SupervisorControllerFactory(pl.allegro.tech.hermes.domain.notifications.InternalNotificationsBus notificationsBus,
ConsumerNodesRegistry consumerNodesRegistry,
ConsumerAssignmentRegistry assignmentRegistry,
ConsumerAssignmentCache consumerAssignmentCache,
ClusterAssignmentCache clusterAssignmentCache,
SubscriptionsCache subscriptionsCache,
ConsumersSupervisor supervisor,
pl.allegro.tech.hermes.common.admin.zookeeper.ZookeeperAdminCache adminCache,
pl.allegro.tech.hermes.common.metric.HermesMetrics metrics,
pl.allegro.tech.hermes.common.config.ConfigFactory configs,
pl.allegro.tech.hermes.domain.workload.constraints.WorkloadConstraintsRepository workloadConstraintsRepository)
public SupervisorController provide()
provide in interface org.glassfish.hk2.api.Factory<SupervisorController>public void dispose(SupervisorController instance)
dispose in interface org.glassfish.hk2.api.Factory<SupervisorController>