Interface MemoryLimitConfig
public interface MemoryLimitConfig
Configuration interface for memory limit settings.
-
Method Summary
Modifier and TypeMethodDescriptionmemoryLimit(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
Configure a limit on the amount of direct memory that will be allocated by this shared client instance.- Parameters:
memoryLimit- the memory limit value, setting this to 0 will disable the limitunit- the memory limit size unit- Returns:
- the memory limit configuration instance for chained calls
-