public class InMemoryModelReader extends Object implements ModelReader
Constructor and Description |
---|
InMemoryModelReader(byte[] data)
Constructs a new instance of in-memory model reader that returns specified byte array.
|
InMemoryModelReader(T obj)
Constructs a new instance of in-memory model reader that returns serialized specified object.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
read()
Rads model and returns it in serialized form as byte array.
|
public InMemoryModelReader(byte[] data)
data
- Data.public InMemoryModelReader(T obj)
T
- Type of data object.obj
- Data object.public byte[] read()
read
in interface ModelReader
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024