类 KryoSerialization
-
- com.alibaba.dubbo.common.serialize.kryo.KryoSerialization
-
- 所有已实现的接口:
Serialization
public class KryoSerialization extends implements Serialization
TODO for now kryo serialization doesn't deny classes that don't implement the serializable interface
-
-
构造器概要
构造器 构造器 说明 KryoSerialization()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ObjectInput
deserialize(URL url, is)
create deserializergetContentType()
get content typebyte
getContentTypeId()
get content type idObjectOutput
serialize(URL url, out)
create serializer
-
-
-
方法详细资料
-
getContentTypeId
public byte getContentTypeId()
从接口复制的说明:Serialization
get content type id- 指定者:
getContentTypeId
在接口中Serialization
- 返回:
- content type id
-
getContentType
public getContentType()
从接口复制的说明:Serialization
get content type- 指定者:
getContentType
在接口中Serialization
- 返回:
- content type
-
serialize
public ObjectOutput serialize(URL url, out) throws
从接口复制的说明:Serialization
create serializer- 指定者:
serialize
在接口中Serialization
- 返回:
- serializer
- 抛出:
-
deserialize
public ObjectInput deserialize(URL url, is) throws
从接口复制的说明:Serialization
create deserializer- 指定者:
deserialize
在接口中Serialization
- 返回:
- deserializer
- 抛出:
-
-