类 AbstractKryoFactory
- java.lang.Object
-
- com.alibaba.dubbo.common.serialize.kryo.utils.AbstractKryoFactory
-
- 所有已实现的接口:
com.esotericsoftware.kryo.pool.KryoFactory
public abstract class AbstractKryoFactory extends Object implements com.esotericsoftware.kryo.pool.KryoFactory
-
-
构造器概要
构造器 构造器 说明 AbstractKryoFactory()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 com.esotericsoftware.kryo.Kryo
create()
abstract com.esotericsoftware.kryo.Kryo
getKryo()
void
registerClass(Class clazz)
only supposed to be called at startup time later may consider adding support for custom serializer, custom id, etcabstract void
returnKryo(com.esotericsoftware.kryo.Kryo kryo)
void
setRegistrationRequired(boolean registrationRequired)
-
-
-
方法详细资料
-
registerClass
public void registerClass(Class clazz)
only supposed to be called at startup time later may consider adding support for custom serializer, custom id, etc
-
create
public com.esotericsoftware.kryo.Kryo create()
- 指定者:
create
在接口中com.esotericsoftware.kryo.pool.KryoFactory
-
setRegistrationRequired
public void setRegistrationRequired(boolean registrationRequired)
-
returnKryo
public abstract void returnKryo(com.esotericsoftware.kryo.Kryo kryo)
-
getKryo
public abstract com.esotericsoftware.kryo.Kryo getKryo()
-
-