Package io.deephaven.configuration
Class IntradayControl.RescanOptions
java.lang.Object
io.deephaven.configuration.IntradayControl.RescanOptions
- Enclosing class:
- IntradayControl
Configuration for a rescan request: an optional target table, DIS include/exclude lists, a logger, and the
authentication context to use when contacting DISs.
A rescan targets either a single table or every intraday table. Set the target with
IntradayControl.RescanOptions.Builder.table(String, String), IntradayControl.RescanOptions.Builder.table(String, String, String), (or IntradayControl.RescanOptions.Builder.table(TableIdentifier)); leaving it unset rescans all
tables.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull IntradayControl.RescanOptions.Builderbuilder()Create a newIntradayControl.RescanOptions.Builderfor aIntradayControl.RescanOptionsinstance.The DIS exclude-list.The DIS include-list.@NotNull com.fishlib.io.logger.Loggerlogger()The logger used for user-facing messages emitted during the operation.abstract @NotNull Optional<TableIdentifier>table()The target table to rescan, or empty to rescan every intraday table.@NotNull TokenFactoryFactoryThe authenticatedTokenFactoryFactoryused when contacting DISs.
-
Constructor Details
-
RescanOptions
public RescanOptions()
-
-
Method Details
-
table
The target table to rescan, or empty to rescan every intraday table.- Returns:
- the target table, or
Optional.empty()to rescan all tables
-
disIncludes
The DIS include-list. When non-empty, only DISs with these names are contacted; all others are skipped.- Returns:
- the include-list of DIS names
-
disExcludes
The DIS exclude-list. DISs with these names are skipped, even if they also appear indisIncludes().- Returns:
- the exclude-list of DIS names
-
logger
@Default @NotNull public @NotNull com.fishlib.io.logger.Logger logger()The logger used for user-facing messages emitted during the operation. Defaults toIntradayControl's process-wide logger.- Returns:
- the logger
-
tokenFactoryFactory
The authenticatedTokenFactoryFactoryused when contacting DISs. Defaults to the value supplied byAuthenticationClientManager.getDefault()at construction time.- Returns:
- the authenticated TokenFactoryFactory
- Throws:
IllegalStateException- if no value was set andAuthenticationClientManager.getDefault()returnsnull
-
builder
Create a newIntradayControl.RescanOptions.Builderfor aIntradayControl.RescanOptionsinstance.- Returns:
- a new
IntradayControl.RescanOptions.Builder
-