/** * Populates the Kryo pool. * * @param instances to add to the pool * @return this */ public KryoNamespace populate(int instances) { for (int i = 0; i < instances; ++i) { release(create()); } return this; }
/** * Populates the Kryo pool. * * @param instances to add to the pool * @return this */ public KryoNamespace populate(int instances) { for (int i = 0; i < instances; ++i) { release(create()); } return this; }