Class DataRoutingServiceKvInMemImpl
java.lang.Object
com.illumon.iris.db.v2.routing.DataRoutingService.Delegating
com.illumon.iris.db.v2.routing.impl.kv.DataRoutingServiceKvImpl
com.illumon.iris.db.v2.routing.impl.kv.DataRoutingServiceKvInMemImpl
- All Implemented Interfaces:
DataRoutingService,DynamicResolverMixin,EndpointResolver,WritableDataRoutingService,WritableDataRoutingServiceImpl,SafeCloseable,NamedImplementation,io.deephaven.kv.routing.RoutingFileContext.RoutingFileListener,io.deephaven.kv.WatchClient.StateListener<io.deephaven.kv.routing.RoutingFile>,AutoCloseable
public class DataRoutingServiceKvInMemImpl extends DataRoutingServiceKvImpl implements DynamicResolverMixin
Implementation using an in-memory kv implementation.
This implementation primes the kv store using the yaml file as from the
YAML implementation.
Useful for testing.
Useful for testing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService
DataRoutingService.DeferredEndpoint, DataRoutingService.Delegating, DataRoutingService.Endpoint, DataRoutingService.EndpointConfig, DataRoutingService.NotReadyException, DataRoutingService.NullPropertyProvider, DataRoutingService.PropertyProviderNested classes/interfaces inherited from interface com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin
DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl, DynamicResolverMixin.DeferredEndpointServiceRegistryImpl, DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl -
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService
DEFAULT_LOCAL_TABLE_DATA_SERVICE, DEFAULT_QUERY_SERVER_TABLE_DATA_SERVICE, DEFAULT_SELECTION_TAG, HOST_TAG, MERGE_QUERY_TDS_TAG, NULL_PROPERTY_PROVIDER, PORT_TAG, QUERY_QUERY_TDS_TAG, SERVICE_REGISTRY_NONE, SERVICE_REGISTRY_SERVICE, TABLE_DATA_PORT_TAG, TABLE_DATA_SERVICE_CONFIG_PROP, TABLE_DATA_SERVICE_CONFIG_PROPS_WITH_LEGACY, TAILER_PORT_TAG, VALIDATE_QUERY_TDS_TAG -
Method Summary
Modifier and Type Method Description StringgetImplementationName()Get a name for the implementing class.static DataRoutingServiceKvInMemImplmake(com.fishlib.configuration.Configuration configuration)static DataRoutingServiceKvInMemImplmake(com.fishlib.configuration.Configuration configuration, io.deephaven.kv.routing.RoutingFileContext context)Methods inherited from class com.illumon.iris.db.v2.routing.impl.kv.DataRoutingServiceKvImpl
about, asYamlString, close, getDelegate, onCompleted, onError, onInitialState, onInitialStateNotPresent, onNextState, onNextStateNotPresent, toString, update, updateMethods inherited from class com.illumon.iris.db.v2.routing.DataRoutingService.Delegating
getAllDataImportServiceDestinationConfigs, getAllLogAggregatorServiceConfigs, getDataImportServiceConfig, getDataImportServiceDestinationConfigs, getLogAggregatorConfig, getLogAggregatorDestinationConfig, getTableDataServiceConfig, getTableDataServiceConfigsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService
authenticate, authenticate, authenticate, getAllDataImportServiceDeferredDestinations, getAllDataImportServiceDestinationConfigs, getAllDataImportServiceDestinations, getAllLogAggregatorServiceConfigs, getDataImportServiceConfig, getDataImportServiceDeferredDestinations, getDataImportServiceDestinationConfigs, getDataImportServiceDestinations, getLogAggregatorConfig, getLogAggregatorDeferredDestination, getLogAggregatorDestination, getLogAggregatorDestinationConfig, getTableDataServiceConfig, getTableDataServiceConfigsMethods inherited from interface com.illumon.iris.db.v2.routing.endpoint.DynamicResolverMixin
resolveLogAggregatorEndpoint, resolveTableDataEndpoint, resolveTailerEndpoint
-
Method Details
-
make
public static DataRoutingServiceKvInMemImpl make(@NotNull com.fishlib.configuration.Configuration configuration) throws IOException- Throws:
IOException
-
make
public static DataRoutingServiceKvInMemImpl make(@NotNull com.fishlib.configuration.Configuration configuration, @NotNull io.deephaven.kv.routing.RoutingFileContext context) throws IOException- Throws:
IOException
-
getImplementationName
Description copied from interface:NamedImplementationGet a name for the implementing class. Useful for abstract classes that implement
LogOutputAppendableor overridetoString.The default implementation is correct, but not suitable for high-frequency usage.
- Specified by:
getImplementationNamein interfaceNamedImplementation- Specified by:
getImplementationNamein classDataRoutingServiceKvImpl- Returns:
- A name for the implementing class
-