public class GridClientJdkMarshaller extends Object implements GridClientMarshaller
| Modifier and Type | Field and Description |
|---|---|
static byte |
ID
ID.
|
| Constructor and Description |
|---|
GridClientJdkMarshaller()
Default constructor.
|
GridClientJdkMarshaller(IgnitePredicate<String> clsFilter) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
marshal(Object obj,
int off)
Marshals object to byte array.
|
<T> T |
unmarshal(byte[] bytes)
Unmarshals object from byte array.
|
public static final byte ID
public GridClientJdkMarshaller()
public GridClientJdkMarshaller(IgnitePredicate<String> clsFilter)
clsFilter - Class filter.public ByteBuffer marshal(Object obj, int off) throws IOException
marshal in interface GridClientMarshallerobj - Object to marshal.off - Start offset.IOException - If marshalling failed.public <T> T unmarshal(byte[] bytes)
throws IOException
unmarshal in interface GridClientMarshallerbytes - Byte array.IOException - If unmarshalling failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020