Class DataImportServiceConfigImpl
java.lang.Object
com.illumon.iris.db.v2.routing.dynamicdis.DataImportServiceConfigImpl
- All Implemented Interfaces:
StringUtils.StringKeyedObject
,DataImportServiceConfig
,DataRoutingService.PropertyProvider
,ServiceRegistryConfig
,NamedImplementation
@Immutable
public abstract class DataImportServiceConfigImpl
extends Object
implements DataImportServiceConfig, DataRoutingService.PropertyProvider
A POJO (more or less) that can be used to make and use DataImportServiceConfig instances independent of a full
DataRoutingService. Some Filters require a routing service, or at least collected claims, and these cannot be used
until this object is plugged into a DataRoutingService.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Builder for DataImportServiceConfigImpl.Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.routing.DataImportServiceConfig
DataImportServiceConfig.DeferredEndpoint, DataImportServiceConfig.Delegating, DataImportServiceConfig.Endpoint, DataImportServiceConfig.EndpointConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionData Import Servers (with table data ports) can be used as a TableDataService.builder()
Get the claims explicitly made by this DIS.Get the filter to be used for: TableFilter determining what data this DIS should accept TableFilter and TableLocation filter determining how data is routed in a composed TableDataService (note that this filter is not used when the DIS is used directly as a TableDataService)Return the name of the subdirectory to use for writing and reader user data.Return configuration for an optional diagnostic web service.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.routing.DataImportServiceConfig
getEndpointConfig, getGroup, getName, getServiceRegistryType, getStorageName, getStorageRoot, getStringRepresentation, toStringHelper
Methods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService.PropertyProvider
getProperties, getProperty, getProperty
Methods inherited from interface com.illumon.util.type.NamedImplementation
getImplementationName
-
Constructor Details
-
DataImportServiceConfigImpl
public DataImportServiceConfigImpl()
-
-
Method Details
-
getUserIntradayDirectoryName
Description copied from interface:DataImportServiceConfig
Return the name of the subdirectory to use for writing and reader user data.- Specified by:
getUserIntradayDirectoryName
in interfaceDataImportServiceConfig
- Returns:
- the user data directory for this data import server. Not all service instances will use this.
-
getFilter
Description copied from interface:DataImportServiceConfig
Get the filter to be used for:- TableFilter determining what data this DIS should accept
- TableFilter and TableLocation filter determining how data is routed in a composed TableDataService (note that this filter is not used when the DIS is used directly as a TableDataService)
- Specified by:
getFilter
in interfaceDataImportServiceConfig
- Returns:
- the filter for this DataImportServer
-
getClaims
Description copied from interface:DataImportServiceConfig
Get the claims explicitly made by this DIS. The claims filter interacts with the data routing service and may differ from this list.- Specified by:
getClaims
in interfaceDataImportServiceConfig
- Returns:
- the set of claims for this DIS
-
getWebServerParameters
Description copied from interface:DataImportServiceConfig
Return configuration for an optional diagnostic web service.- Specified by:
getWebServerParameters
in interfaceDataImportServiceConfig
- Returns:
- configuration for the optional web service (which might be disabled).
-
asTableDataServiceConfig
Description copied from interface:DataImportServiceConfig
Data Import Servers (with table data ports) can be used as a TableDataService. This returns a TableDataServiceConfig based on the DIS configuration.- Specified by:
asTableDataServiceConfig
in interfaceDataImportServiceConfig
- Returns:
- a TableDataServiceConfig
-
toString
-
builder
- Returns:
- a builder for creating a new instance.
-