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.LogOutput
append
(com.fishlib.base.log.LogOutput logOutput) asString()
Returns a string representation of the endpoint.boolean
equalsImpl
(Object o) InvokeObject.equals(Object)
on the given object.Returns a realized endpointgetName()
Returns a service name hosting the endpoint.boolean
Returns true if this instance has a realized endpoint.int
InvokeObject.hashCode()
.
-
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:
append
in interfacecom.fishlib.base.log.LogOutputAppendable
-
equalsImpl
InvokeObject.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()InvokeObject.hashCode()
. This forces all subclasses to implement hashCode.- Returns:
- the result of the hashCode method
-