Class DataStreamerOptions

java.lang.Object
org.apache.ignite.table.DataStreamerOptions

public class DataStreamerOptions extends Object
Data streamer options. See DataStreamerTarget for more information.
  • Field Details

  • Method Details

    • builder

      public static DataStreamerOptions.Builder builder()
      Creates a new builder.
      Returns:
      Builder.
    • pageSize

      public int pageSize()
      Gets the page size (the number of entries that will be sent to the cluster in one network call).
      Returns:
      Page size.
    • perPartitionParallelOperations

      public int perPartitionParallelOperations()
      Gets the number of parallel operations per partition (how many in-flight requests can be active for a given partition).
      Returns:
      Per node parallel operations.
    • autoFlushInterval

      public int autoFlushInterval()
      Gets the auto flush interval, in milliseconds (the period of time after which the streamer will flush the per-node buffer even if it is not full).
      Returns:
      Auto flush interval.
    • retryLimit

      public int retryLimit()
      Gets the retry limit for a page. If a page fails to be sent to the cluster, the streamer will retry it a number of times. If all retries fail, the streamer will be aborted.
      Returns:
      Retry limit.