@Public
@Evolving
public interface AddressTypes
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ADDRESS_HOSTNAME_AND_PORT |
hostname/FQDN and port pair: "host/port".
|
static java.lang.String |
ADDRESS_HOSTNAME_FIELD |
|
static java.lang.String |
ADDRESS_OTHER |
Any other address: "".
|
static java.lang.String |
ADDRESS_PATH |
Path
/a/b/c style: "path". |
static java.lang.String |
ADDRESS_PORT_FIELD |
|
static java.lang.String |
ADDRESS_URI |
URI entries: "uri".
|
static java.lang.String |
ADDRESS_ZOOKEEPER |
Zookeeper addresses as a triple : "zktriple".
|
static final java.lang.String ADDRESS_HOSTNAME_AND_PORT
["namenode.example.org", "9870"]
static final java.lang.String ADDRESS_HOSTNAME_FIELD
static final java.lang.String ADDRESS_PORT_FIELD
static final java.lang.String ADDRESS_PATH
/a/b/c style: "path".
The entire path is encoded in a single entry
["/users/example/dataset"]
static final java.lang.String ADDRESS_URI
["http://example.org"]
static final java.lang.String ADDRESS_ZOOKEEPER
These are provide as a 3 element tuple of: hostname, port and optionally path (depending on the application)
A single element would be
["zk1","2181","/registry"]An endpoint with multiple elements would list them as
[
["zk1","2181","/registry"]
["zk2","1600","/registry"]
]
the third element in each entry , the path, MUST be the same in each entry.
A client reading the addresses of an endpoint is free to pick any
of the set, so they must be the same.static final java.lang.String ADDRESS_OTHER
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.