Class SoftReferenceQueue

java.lang.Object
com.esotericsoftware.kryo.pool.SoftReferenceQueue
All Implemented Interfaces:
Iterable<Kryo>, Collection<Kryo>, Queue<Kryo>

class SoftReferenceQueue extends Object implements Queue<Kryo>
Internally uses SoftReferences for queued Kryo instances, most importantly adjusts the poll behavior so that GC'ed Kryo instances are skipped. Most other methods are unsupported.