public class SupervisorControllerFactory extends java.lang.Object implements org.glassfish.hk2.api.Factory<SupervisorController>
| Constructor and Description |
|---|
SupervisorControllerFactory(org.apache.curator.framework.CuratorFramework curator,
SubscriptionsCache subscriptionsCache,
WorkTracker workTracker,
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(SupervisorController instance) |
SupervisorController |
provide() |
@Inject
public SupervisorControllerFactory(@Named(value="hermesCurator")
org.apache.curator.framework.CuratorFramework curator,
SubscriptionsCache subscriptionsCache,
WorkTracker workTracker,
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)
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>