Class DataImportServerTools
java.lang.Object
io.deephaven.enterprise.dataimportserver.DataImportServerTools
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer
getDisByName
(@NotNull String disName) Retrieve a DataImportServer by name.static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer
getDisByName
(@NotNull String disName, Class<?> clazz) Retrieve a DataImportServer by name.static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer
getDisByNameWithStorage
(@NotNull String disName, @NotNull String storageRoot) Retrieve a DataImportServer by name, specifying the storage root.static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer
getDisByNameWithStorage
(@NotNull String disName, @NotNull String storageRoot, Class<?> clazz) Retrieve a DataImportServer by name, specifying the storage root.
-
Method Details
-
getDisByName
@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByName(@NotNull @NotNull String disName) Retrieve a DataImportServer by name.The logger uses
DataImportServer
as a default class identifier.If the DIS uses private storage, then you must call
getDisByNameWithStorage(String, String, Class)
.- Parameters:
disName
- the name of the DIS to instantiate and start- Returns:
- the dis referenced by the given name
-
getDisByName
@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByName(@NotNull @NotNull String disName, Class<?> clazz) Retrieve a DataImportServer by name.If the DIS uses private storage, then you must call
getDisByNameWithStorage(String, String, Class)
.- Parameters:
disName
- the name of the DIS to instantiate and startclazz
- the class for logging- Returns:
- the dis referenced by the given name
-
getDisByNameWithStorage
@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByNameWithStorage(@NotNull @NotNull String disName, @NotNull @NotNull String storageRoot, Class<?> clazz) Retrieve a DataImportServer by name, specifying the storage root.- Parameters:
disName
- the name of the DIS to instantiate and startstorageRoot
- the storage root for DISes configured with "private storage".clazz
- the class for logging- Returns:
- the dis referenced by the given name
-
getDisByNameWithStorage
@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByNameWithStorage(@NotNull @NotNull String disName, @NotNull @NotNull String storageRoot) Retrieve a DataImportServer by name, specifying the storage root.The logger uses
DataImportServer
as a default class identifier.- Parameters:
disName
- the name of the DIS to instantiate and startstorageRoot
- the storage root for DISes configured with "private storage".- Returns:
- the dis referenced by the given name
-