Tuning the Block Size at Collection Type Level
You can specify the block size of a collection at the class level in one of the following ways.
-
Indirectly, by providing an estimate of the expected population of the collection
-
Directly, by specifying the block size in terms of entries in each block
For details, see "
The indirect option provides a simple way for you to indicate that JADE should use a block size determined heuristically. However, as a heuristic-based computation is not guaranteed to come up with an optimal solution, you can specify the number of entries in each block explicitly if you have the appropriate information to do so.
These options are mutually exclusive. If both are defined, the explicit block size takes precedence.