Creates a small pool (size 2) and uses it as an Injection Note the implicit in the package from () => Kryo to KryoInstatiator.
Creates a small pool (size 2) and uses it as an Injection Note the implicit in the package from () => Kryo to KryoInstatiator. It is ESSENTIAL that this function is allocating new Kryos, or we will not be thread-safe
Create a new KryoInjection instance that serializes items using the supplied KryoPool instance.
Create a new KryoInjection instance that serializes items using the supplied KryoPool instance. For this to be serializable, you need the call by name semantics
A default KryoInjection that uses the ScalaKryoInstantiator with ByteArrayOutputStream as the backing buffer