Class LookupResult

java.lang.Object
org.apache.pulsar.broker.lookup.LookupResult

public class LookupResult extends Object
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.
  • Constructor Details

  • Method Details

    • isBrokerUrl

      public boolean isBrokerUrl()
    • isRedirect

      public boolean isRedirect()
    • isAuthoritativeRedirect

      public boolean isAuthoritativeRedirect()
    • getLookupData

      public org.apache.pulsar.common.lookup.data.LookupData getLookupData()
    • toString

      public String toString()
      Overrides:
      toString in class Object