countExplicitMemories Method

Description

Returns the number of Explicit memory blocks in the Explicit heap. If an Explicit memory block is already released or is disabled, that Explicit memory block is not counted.

Format

public static int countExplicitMemories();

Parameters

None

Exceptions

None

Return value

This method counts the number of Explicit memory blocks in the Explicit heap, and then returns the number in the int type.

Caution