Package com.illumon.iris.db.v2.routing
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 TypeMethodDescriptiondefault com.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput) asString()Returns a string representation of the endpoint.Returns a realized endpointgetName()Returns a service name hosting the endpoint.booleanReturns true if this instance has a realized endpoint.
-
Method Details
-
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
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:
appendin interfacecom.fishlib.base.log.LogOutputAppendable
-