T - - Type of the objects which can be discoveredpublic interface Discovery<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Discovery.Service<T> |
| Modifier and Type | Method and Description |
|---|---|
void |
advertise(Discovery.Service<T> service)
Advertise the host/port address where FlumeSink is accepting a client connection.
|
Collection<Discovery.Service<T>> |
discover()
Discover all the addresses which are actively accepting the client connections.
|
void |
unadvertise(Discovery.Service<T> service)
Recall the previously published address as it's no longer valid.
|
void unadvertise(Discovery.Service<T> service)
service - void advertise(Discovery.Service<T> service)
service - Collection<Discovery.Service<T>> discover()
Copyright © 2015-2017 Apache Software Foundation. All Rights Reserved.