Class DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl
java.lang.Object
com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,DataRoutingService.DeferredEndpoint
,LogAggregatorConfig.DeferredEndpoint
- Enclosing interface:
- DynamicResolverMixin
public static class DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl
extends DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
implements LogAggregatorConfig.DeferredEndpoint
DeferredEndpoint implementation for LAS endpoint that has its endpoint registered in service registry
-
Method Summary
Modifier and TypeMethodDescriptionReturns a realized endpointprotected SimpleLogAggregatorEndpoint
makeSimpleEndpoint
(String name, String host, int port) Create a simple endpoint of the appropriate type.Methods inherited from class com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
asString, equals, equalsImpl, getFromServiceRegistryService, getName, hasEndpoint, hashCode, hashCodeImpl, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService.DeferredEndpoint
append, asString, equalsImpl, getName, hasEndpoint, hashCodeImpl
-
Method Details
-
getEndpoint
@NotNull public LogAggregatorConfig.Endpoint getEndpoint() throws DataRoutingService.NotReadyExceptionDescription copied from interface:DataRoutingService.DeferredEndpoint
Returns a realized endpoint- Specified by:
getEndpoint
in interfaceDataRoutingService.DeferredEndpoint
- Specified by:
getEndpoint
in interfaceLogAggregatorConfig.DeferredEndpoint
- Overrides:
getEndpoint
in classDynamicResolverMixin.DeferredEndpointServiceRegistryImpl
- Throws:
DataRoutingService.NotReadyException
- if not realized
-
makeSimpleEndpoint
@NotNull protected SimpleLogAggregatorEndpoint makeSimpleEndpoint(@NotNull String name, @NotNull String host, int port) Description copied from class:DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
Create a simple endpoint of the appropriate type. Subclasses can override the return type.- Overrides:
makeSimpleEndpoint
in classDynamicResolverMixin.DeferredEndpointServiceRegistryImpl
- Parameters:
name
- the name of the endpointhost
- the host part of the endpointport
- the port part of the endpoint- Returns:
- a new static endpoint
-