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 Summary

    Modifier and Type
    Method
    Description
    default com.fishlib.base.log.LogOutput
    append(com.fishlib.base.log.LogOutput logOutput)
     
    Returns a string representation of the endpoint.
    Returns a realized endpoint
    Returns a service name hosting the endpoint.
    boolean
    Returns true if this instance has a realized endpoint.
  • 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