Interface DataRoutingService.DeferredEndpoint

All Superinterfaces:
com.fishlib.base.log.LogOutputAppendable
All Known Subinterfaces:
DataImportServiceConfig.DeferredEndpoint, LogAggregatorConfig.DeferredEndpoint
All Known Implementing Classes:
DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl, DynamicResolverMixin.DeferredEndpointServiceRegistryImpl, DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl, SimpleEndpoint, SimpleLogAggregatorEndpoint
Enclosing interface:
DataRoutingService

public static interface DataRoutingService.DeferredEndpoint extends com.fishlib.base.log.LogOutputAppendable
Interface that defines an endpoint that if not currently realized will be realized in future
  • Method Details

    • getName

      @NotNull String getName()
      Returns a service name hosting the endpoint.
    • getEndpoint

      Returns a realized endpoint
      Throws:
      DataRoutingService.NotReadyException - if not realized
    • hasEndpoint

      boolean hasEndpoint()
      Returns true if this instance has a realized endpoint.
      Returns:
      true if realized
    • asString

      @NotNull String asString()
      Returns a string representation of the endpoint.
      Returns:
      a string representation of the endpoint
      ImplNote:
      Should include host and port only if they are realized
    • append

      default com.fishlib.base.log.LogOutput append(@NotNull com.fishlib.base.log.LogOutput logOutput)
      Specified by:
      append in interface com.fishlib.base.log.LogOutputAppendable
    • equalsImpl

      boolean equalsImpl(Object o)
      Invoke Object.equals(Object) on the given object. This forces all subclasses to implement equals.
      Parameters:
      o - the other object
      Returns:
      the result of the equals method
    • hashCodeImpl

      int hashCodeImpl()
      Invoke Object.hashCode(). This forces all subclasses to implement hashCode.
      Returns:
      the result of the hashCode method