@Deprecated public final class StaticEndpointGroup extends Object implements EndpointGroup
EndpointGroup.| Constructor and Description |
|---|
StaticEndpointGroup(Endpoint... endpoints)
Deprecated.
|
StaticEndpointGroup(Iterable<Endpoint> endpoints)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<Endpoint> |
endpoints()
Deprecated.
Return the endpoints held by this
EndpointGroup. |
CompletableFuture<List<Endpoint>> |
initialEndpointsFuture()
Deprecated.
Returns a
CompletableFuture which is completed when the initial Endpoints are ready. |
String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, awaitInitialEndpoints, awaitInitialEndpoints, close, empty, of, of, orElse, removeListener@Deprecated public StaticEndpointGroup(Endpoint... endpoints)
EndpointGroup.of(EndpointGroup...).@Deprecated public StaticEndpointGroup(Iterable<Endpoint> endpoints)
EndpointGroup.of(Iterable).public List<Endpoint> endpoints()
EndpointGroupEndpointGroup.endpoints in interface EndpointGrouppublic CompletableFuture<List<Endpoint>> initialEndpointsFuture()
EndpointGroupCompletableFuture which is completed when the initial Endpoints are ready.initialEndpointsFuture in interface EndpointGroupCopyright © 2020 LeanCloud. All rights reserved.