Package org.apache.pulsar.broker.lookup
Class LookupResult
java.lang.Object
org.apache.pulsar.broker.lookup.LookupResult
Represent a lookup result.
Result can either be the lookup data describing the broker that owns the broker or the HTTP endpoint to where we need
to redirect the client to try again.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLookupResult(String httpUrl, String httpUrlTls, String brokerServiceUrl, String brokerServiceUrlTls, boolean authoritativeRedirect) LookupResult(String httpUrl, String httpUrlTls, String nativeUrl, String nativeUrlTls, LookupResult.Type type, boolean authoritativeRedirect) LookupResult(NamespaceEphemeralData namespaceEphemeralData) LookupResult(NamespaceEphemeralData namespaceEphemeralData, String nativeUrl, String nativeUrlTls) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.common.lookup.data.LookupDatabooleanbooleanbooleantoString()
-
Constructor Details
-
LookupResult
-
LookupResult
-
LookupResult
public LookupResult(String httpUrl, String httpUrlTls, String nativeUrl, String nativeUrlTls, LookupResult.Type type, boolean authoritativeRedirect) -
LookupResult
public LookupResult(NamespaceEphemeralData namespaceEphemeralData, String nativeUrl, String nativeUrlTls)
-
-
Method Details