Apache Ignite Marshaller integration

22 views
Skip to first unread message

Süleyman Vurucu

unread,
Sep 7, 2018, 1:57:13 AM9/7/18
to protostuff
I try to use protostuff within Apache Ignite. 

The interface from Ignite Marshaller is shown below:


    public void marshal(@Nullable Object obj, OutputStream out) throws IgniteCheckedException;


    public byte[] marshal(@Nullable Object obj) throws IgniteCheckedException;


    public <T> T unmarshal(InputStream in, @Nullable ClassLoader clsLdr) throws IgniteCheckedException;

    public <T> T unmarshal(byte[] arr, @Nullable ClassLoader clsLdr) throws IgniteCheckedException;


My problem is to deserialize the intputstream or the byte array. I have no class information in this context. How can I handle this with prototuff ?

David Yu

unread,
Sep 7, 2018, 1:59:05 AM9/7/18
to protostuff
I think their integration handles that for you. You might wanna ask from them if their docs don't provide the info you need. 

--
You received this message because you are subscribed to the Google Groups "protostuff" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protostuff+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
When the cat is away, the mouse is alone.
dyuproject.com
Reply all
Reply to author
Forward
0 new messages