@SPI(value="kryo") public interface Serialization
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectInput |
deserialize(InputStream input)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(OutputStream output)
create serializer
|
byte getContentTypeId()
String getContentType()
ObjectOutput serialize(OutputStream output) throws IOException
output - IOExceptionObjectInput deserialize(InputStream input) throws IOException
input - IOExceptionCopyright © 2018. All rights reserved.