Package com.illumon.iris.db.v2.routing
Interface DataImportServiceConfig
- All Superinterfaces:
DataRoutingService.PropertyProvider
,ServiceRegistryConfig
- All Known Implementing Classes:
DataImportServiceConfig.Delegating
public interface DataImportServiceConfig
extends ServiceRegistryConfig, DataRoutingService.PropertyProvider
For use by DIS instance.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static class
Delegate method calls to an implementation object.static interface
For use by consumer of DIS as a data sink.static interface
Configuration for resolving a DataImportService endpoint -
Method Summary
Modifier and TypeMethodDescriptionGet the claims explicitly made by this DIS.Get the configuration information a data import server needs to set up its services.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)getGroup()
The optional group for this DataImportService.getName()
The name of this DataImportService.Get the location where this Data Import Server will write data.Return the name of the subdirectory to use for writing and reader user data.Return configuration for an optional diagnostic web service.boolean
Return true if this DIS will serve data via the Table Data Protocol.boolean
Return true if this DIS will accept data via the tailer interface.Methods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService.PropertyProvider
getAllProperties, getProperty, getProperty
Methods inherited from interface com.illumon.iris.db.v2.routing.ServiceRegistryConfig
getServiceRegistryType
-
Method Details
-
getName
The name of this DataImportService.- Returns:
- the configured DIS name.
-
getGroup
The optional group for this DataImportService. Matching DIS instances may be part of a named failover group.- Returns:
- the group name, or null
-
getUserIntradayDirectoryName
Return the name of the subdirectory to use for writing and reader user data.- Returns:
- the user data directory for this data import server. Not all service instances will use this.
-
getFilter
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)
- Returns:
- the filter for this DataImportServer
-
getClaims
Get the claims explicitly made by this DIS. The claims filter interacts with the data routing service and may differ from this list.- Returns:
- the set of claims for this DIS
-
isTableDataPortEnabled
boolean isTableDataPortEnabled()Return true if this DIS will serve data via the Table Data Protocol.- Returns:
- true if this DIS will serve data via table data protocol
-
isTailerPortEnabled
boolean isTailerPortEnabled()Return true if this DIS will accept data via the tailer interface.- Returns:
- true if this DIS will accept data
-
getStorageRoot
Get the location where this Data Import Server will write data. Returns null if the DIS is expected to bring its own storage configuration.- Returns:
- the root folder to which data will be written
-
getWebServerParameters
Return configuration for an optional diagnostic web service.- Returns:
- configuration for the optional web service (which might be disabled).
-
getEndpointConfig
Get the configuration information a data import server needs to set up its services.- Returns:
- DataImportServiceEndpointConfig that determines how services will be started.
-