Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finagle-core: make ApertureLoadBandBalancer public #370

Closed
wants to merge 1 commit into from
Closed

finagle-core: make ApertureLoadBandBalancer public #370

wants to merge 1 commit into from

Conversation

tonyd3
Copy link
Contributor

@tonyd3 tonyd3 commented Apr 16, 2015

Problem
I want to use the Aperture LoadBalancerFactory with custom values.
The class is private, so we are unable to create a new object that instantiates the ApertureLoadBandBalancer class.
I also want to experiment with creating load balancers with the Aperture trait mixed in, however I am unable to do that because it's private as well.

Solution
Make both the class and the trait public.

Result
You should be able to instantiate ApertureLoadBandBalancer and also create a custom load balancer with the Aperture trait mixed in.

Problem
I want to use the Aperture LoadBalancerFactory with custom values.
The class is private, so we are unable to create a new object that instantiates the ApertureLoadBandBalancer class.
I also want to experiment with creating load balancers with the Aperture trait mixed in, however I am unable to do that because it's private as well.

Solution
Make both the class and the trait public.

Result
You should be able to instantiate ApertureLoadBandBalancer and also create a custom load balancer with the Aperture trait mixed in.
@mosesn
Copy link
Contributor

mosesn commented Apr 16, 2015

LGTM, but I'm curious about what the ApertureBalancerFactory doesn't expose that you want to twiddle.

@tonyd3
Copy link
Contributor Author

tonyd3 commented Apr 16, 2015

In this case, just max effort.

@mosesn
Copy link
Contributor

mosesn commented Apr 16, 2015

What do you mean by max effort?

@luciferous
Copy link
Collaborator

@luciferous
Copy link
Collaborator

@roanta thoughts

@roanta
Copy link
Contributor

roanta commented Jul 21, 2015

@luciferous
Copy link
Collaborator

@roanta That seems correct.

@luciferous luciferous closed this Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants