public class CursorIteratorProviderKryoSerializer
extends com.esotericsoftware.kryo.Serializer<T>
Kryo Serializer for instances of CursorIteratorProvider.| Constructor and Description |
|---|
CursorIteratorProviderKryoSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected <I> List<I> |
iteratorToList(Iterator<I> iterator)
|
org.mule.runtime.api.streaming.object.CursorIteratorProvider |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<org.mule.runtime.api.streaming.object.CursorIteratorProvider> type) |
protected <I> Collection<I> |
readCollection(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input)
Deserializes a
Collection from the given input |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
org.mule.runtime.api.streaming.object.CursorIteratorProvider provider) |
protected <I> void |
writeCollection(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Collection<I> items)
Serializes the given
items |
public CursorIteratorProviderKryoSerializer()
public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
org.mule.runtime.api.streaming.object.CursorIteratorProvider provider)
write in class com.esotericsoftware.kryo.Serializer<org.mule.runtime.api.streaming.object.CursorIteratorProvider>public org.mule.runtime.api.streaming.object.CursorIteratorProvider read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<org.mule.runtime.api.streaming.object.CursorIteratorProvider> type)
read in class com.esotericsoftware.kryo.Serializer<org.mule.runtime.api.streaming.object.CursorIteratorProvider>protected <I> List<I> iteratorToList(Iterator<I> iterator)
I - the generic type of the iterator's contentiterator - an iteratorList with the iterator's contentprotected <I> void writeCollection(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Collection<I> items)
itemsI - the generic type of the collection itemskryo - a Kryo instanceoutput - the serialization Outputitems - the collection to be serializedprotected <I> Collection<I> readCollection(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
Collection from the given inputI - the generic type of the collection itemskryo - a Kryo instanceinput - the serialization inputCollectionCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.