Class DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl
java.lang.Object
com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable,DataImportServiceConfig.DeferredEndpoint,DataRoutingService.DeferredEndpoint
- Enclosing interface:
- DynamicResolverMixin
public static class DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl
extends DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
implements DataImportServiceConfig.DeferredEndpoint
DeferredEndpoint implementation for DIS endpoint that has its endpoint registered in service registry
-
Method Summary
Modifier and TypeMethodDescriptionReturns a realized endpointprotected com.illumon.iris.db.v2.routing.endpoint.SimpleDataImportServerEndpointmakeSimpleEndpoint(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService.DeferredEndpoint
append, asString, equalsImpl, getName, hasEndpoint, hashCodeImpl
-
Method Details
-
getEndpoint
@NotNull public DataImportServiceConfig.Endpoint getEndpoint() throws DataRoutingService.NotReadyExceptionDescription copied from interface:DataRoutingService.DeferredEndpointReturns a realized endpoint- Specified by:
getEndpointin interfaceDataImportServiceConfig.DeferredEndpoint- Specified by:
getEndpointin interfaceDataRoutingService.DeferredEndpoint- Overrides:
getEndpointin classDynamicResolverMixin.DeferredEndpointServiceRegistryImpl- Throws:
DataRoutingService.NotReadyException- if not realized
-
makeSimpleEndpoint
@NotNull protected com.illumon.iris.db.v2.routing.endpoint.SimpleDataImportServerEndpoint makeSimpleEndpoint(@NotNull String name, @NotNull String host, int port) Description copied from class:DynamicResolverMixin.DeferredEndpointServiceRegistryImplCreate a simple endpoint of the appropriate type. Subclasses can override the return type.- Overrides:
makeSimpleEndpointin 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
-