Compartir a través de


DataFeedIngestionSettings Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.administration.models.DataFeedIngestionSettings

public final class DataFeedIngestionSettings

The data feed ingestion settings model.

Constructor Summary

Constructor Description
DataFeedIngestionSettings(OffsetDateTime ingestionStartTime)

Create a DataFeedIngestionSettings object.

Method Summary

Modifier and Type Method and Description
Integer getDataSourceRequestConcurrency()

Get the max concurrency of data ingestion queries against user data source.

Duration getIngestionRetryDelay()

Get the duration for minimum retry interval for failed data ingestion tasks.

Duration getIngestionStartOffset()

Get the duration that the beginning of data ingestion task will delay for every data slice according to this offset.

OffsetDateTime getIngestionStartTime()

Get the ingestion start time.

Duration getStopRetryAfter()

Get the duration for which to stop before retrying data ingestion after the data slice first schedule time.

DataFeedIngestionSettings setDataSourceRequestConcurrency(Integer maxConcurrency)

Set the max concurrency of data ingestion queries against user data source.

DataFeedIngestionSettings setIngestionRetryDelay(Duration minRetryInterval)

Set the duration retry interval for failed data ingestion tasks.

DataFeedIngestionSettings setIngestionStartOffset(Duration startOffset)

Set the duration that the beginning of data ingestion task will delay for every data slice according to this offset.

DataFeedIngestionSettings setStopRetryAfter(Duration stopRetryAfterDuration)

Set the duration for which to stop retrying data ingestion after the data slice first schedule time.

Methods inherited from java.lang.Object

Constructor Details

DataFeedIngestionSettings

public DataFeedIngestionSettings(OffsetDateTime ingestionStartTime)

Create a DataFeedIngestionSettings object.

Parameters:

ingestionStartTime - the data feed ingestion start time value.

Method Details

getDataSourceRequestConcurrency

public Integer getDataSourceRequestConcurrency()

Get the max concurrency of data ingestion queries against user data source. 0 means no limitation.

Returns:

the the max concurrency of data ingestion queries against user data source value.

getIngestionRetryDelay

public Duration getIngestionRetryDelay()

Get the duration for minimum retry interval for failed data ingestion tasks.

Returns:

the duration for minimum retry interval for failed data ingestion tasks value.

getIngestionStartOffset

public Duration getIngestionStartOffset()

Get the duration that the beginning of data ingestion task will delay for every data slice according to this offset.

Returns:

the the duration that the beginning of data ingestion task will delay for every data slice according to this offset value.

getIngestionStartTime

public OffsetDateTime getIngestionStartTime()

Get the ingestion start time.

Returns:

the ingestion start time.

getStopRetryAfter

public Duration getStopRetryAfter()

Get the duration for which to stop before retrying data ingestion after the data slice first schedule time.

Returns:

the the duration for which to stop before retrying data ingestion after the data slice first schedule time value.

setDataSourceRequestConcurrency

public DataFeedIngestionSettings setDataSourceRequestConcurrency(Integer maxConcurrency)

Set the max concurrency of data ingestion queries against user data source. 0 means no limitation.

Parameters:

maxConcurrency - the maxConcurrency value to set.

Returns:

the DataFeedIngestionSettings object itself.

setIngestionRetryDelay

public DataFeedIngestionSettings setIngestionRetryDelay(Duration minRetryInterval)

Set the duration retry interval for failed data ingestion tasks.

Parameters:

minRetryInterval - the minRetryInterval value to set.

Returns:

the DataFeedIngestionSettings object itself.

setIngestionStartOffset

public DataFeedIngestionSettings setIngestionStartOffset(Duration startOffset)

Set the duration that the beginning of data ingestion task will delay for every data slice according to this offset.

Parameters:

startOffset - the duration that the beginning of data ingestion task will delay for every data slice according to this offset value to set.

Returns:

the DataFeedIngestionSettings object itself.

setStopRetryAfter

public DataFeedIngestionSettings setStopRetryAfter(Duration stopRetryAfterDuration)

Set the duration for which to stop retrying data ingestion after the data slice first schedule time.

Parameters:

stopRetryAfterDuration - the stopRetryAfterDuration value to set.

Returns:

the DataFeedIngestionSettings object itself.

Applies to