Interface MemoryLimitConfig


public interface MemoryLimitConfig
Configuration interface for memory limit settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    memoryLimit(long memoryLimit, SizeUnit unit)
    Configure a limit on the amount of direct memory that will be allocated by this shared client instance.
  • Method Details

    • memoryLimit

      MemoryLimitConfig memoryLimit(long memoryLimit, SizeUnit unit)
      Configure a limit on the amount of direct memory that will be allocated by this shared client instance.

      See also ClientBuilder.memoryLimit(long, SizeUnit).

      Parameters:
      memoryLimit - the memory limit value, setting this to 0 will disable the limit
      unit - the memory limit size unit
      Returns:
      the memory limit configuration instance for chained calls