public interface KryoInstanceFactory
| Modifier and Type | Method and Description |
|---|---|
com.esotericsoftware.kryo.Kryo |
getInstance(org.mule.runtime.core.api.MuleContext context,
Optional<org.mule.runtime.module.artifact.api.classloader.ClassLoaderRepository> classLoaderRepository)
Returns the Kryo instance from this factory.
|
com.esotericsoftware.kryo.Kryo getInstance(org.mule.runtime.core.api.MuleContext context,
Optional<org.mule.runtime.module.artifact.api.classloader.ClassLoaderRepository> classLoaderRepository)
throws Exception
context - context that owns the created instance. Non null.classLoaderRepository - contains all the class loaders in the container.Exception - in case of problem registering custom serializersCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.