/** Build the pool. */ public KryoPool build () { Queue<Kryo> q = softReferences ? new SoftReferenceQueue(queue) : queue; return new KryoPoolQueueImpl(factory, q); }
/** Build the pool. */ public KryoPool build () { Queue<Kryo> q = softReferences ? new SoftReferenceQueue(queue) : queue; return new KryoPoolQueueImpl(factory, q); }