Configuration

Inheritance: java.lang.Object

public final class Configuration

The memory management global configuration

Methods

MethodDescription
getBufferSizeHint()Gets the buffer size hint which is defined max allowed size for all internal buffers.
setBufferSizeHint(int value)Sets the buffer size hint which is defined max allowed size for all internal buffers.

getBufferSizeHint()

public static int getBufferSizeHint()

Gets the buffer size hint which is defined max allowed size for all internal buffers.

Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers

Returns: int - the buffer size hint which is defined max allowed size for all internal buffers.

setBufferSizeHint(int value)

public static void setBufferSizeHint(int value)

Sets the buffer size hint which is defined max allowed size for all internal buffers.

Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers

Parameters:

ParameterTypeDescription
valueintthe buffer size hint which is defined max allowed size for all internal buffers.