ObjectDB ObjectDB

allocate(additional) - JDO Sequence's method

Method
javax.jdo.datastore.Sequence
void allocate(
  int additional
)

Provides a hint to the implementation that the application will need additional sequence value objects in short order. There is no externally visible behavior of this method. It is used to potentially improve the efficiency of the algorithm of obtaining additional sequence value objects.
Parameters:
additional - the number of additional values to allocate
Since:
JDO 2.0