forked from eclipse-vertx/vert.x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eclipse-vertx#5375 from eclipse-vertx/unstable-cha…
…nges Unstable changes
- Loading branch information
Showing
13 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
*/ | ||
package io.vertx.core.http; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.Future; | ||
|
||
|
@@ -25,6 +26,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
@VertxGen | ||
public interface HttpClientConnection extends HttpConnection, HttpClient { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
*/ | ||
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.Future; | ||
import io.vertx.core.net.Address; | ||
|
@@ -19,6 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
@VertxGen | ||
public interface EndpointResolver { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,15 @@ | |
*/ | ||
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
|
||
/** | ||
* Gather metrics for a request/response interaction with the server, this interface is write-only and used to report | ||
* usage to build statistics for a load balancing purpose. | ||
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
public interface InteractionMetrics<M> { | ||
|
||
InteractionMetrics<?> INSTANCE = new InteractionMetrics<>() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
*/ | ||
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
import io.vertx.core.net.endpoint.impl.ConsistentHashingSelector; | ||
import io.vertx.core.net.endpoint.impl.NoMetricsLoadBalancer; | ||
|
||
|
@@ -25,6 +26,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
public interface LoadBalancer { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.GenIgnore; | ||
import io.vertx.codegen.annotations.Unstable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.net.SocketAddress; | ||
|
||
|
@@ -19,6 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
@VertxGen | ||
public interface ServerEndpoint { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,15 @@ | |
*/ | ||
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
|
||
/** | ||
* Request interaction with an endpoint, mostly callbacks to gather statistics. | ||
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
@VertxGen | ||
public interface ServerInteraction { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,14 @@ | |
*/ | ||
package io.vertx.core.net.endpoint; | ||
|
||
import io.vertx.codegen.annotations.Unstable; | ||
|
||
/** | ||
* Select the most appropriate server among the list of servers of an endpoint. | ||
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@Unstable | ||
public interface ServerSelector { | ||
|
||
/** | ||
|