Skip to content

Commit

Permalink
finagle-core: Rm vestigial loadbalancer Stack.Role
Browse files Browse the repository at this point in the history
RB_ID=529531
  • Loading branch information
Evan Meagher authored and jenkins@bigbird committed Dec 10, 2014
1 parent 522a3f2 commit ddfa9b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~

* finagle-http: Removed `c.t.f.http.CheckRequestFilter` along with
* finagle-core: Remove `c.t.f.client.StackClient.Role.loadBalancer`, which
was unused and duplicated by `c.t.f.loadbalancer.LoadBalancerFactory.role`.

* finagle-http: Remove `c.t.f.http.CheckRequestFilter` along with
`c.t.f.http.CheckHttpRequestFilter`. The functionality has been
added to `c.t.f.http.codec.HttpServerDispatcher`. In addition,
the codecError in `c.t.f.http.BadHttpRequest` has been replaced
Expand All @@ -18,7 +21,7 @@ Breaking API Changes
calls `Thread.start()` in its constructor. This should be now be
done by the caller.

* finagle-mux: The experimental session API was discontinued.
* finagle-mux: The experimental session API is discontinued.

* finagle-mux: Introduce new Request and Response types for mux services.
The new mux request includes a `destination` path so that, which corresponds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ object StackClient {
* Canonical Roles for each Client-related Stack modules.
*/
object Role extends Stack.Role("StackClient"){
val loadBalancer = Stack.Role("LoadBalancer")
val pool = Stack.Role("Pool")
val requestDraining = Stack.Role("RequestDraining")
val prepFactory = Stack.Role("PrepFactory")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ object perHostStats extends GlobalFlag(false, "enable/default per-host stats.\n"

object LoadBalancerFactory {
val role = Stack.Role("LoadBalancer")

/**
* A class eligible for configuring a [[com.twitter.finagle.Stackable]]
* [[com.twitter.finagle.loadbalancer.LoadBalancerFactory]] per host
Expand Down

0 comments on commit ddfa9b4

Please sign in to comment.