public abstract class AbstractMarshaller extends Object implements Marshaller
GridByteArrayList
. These implementations
use GridByteArrayInputStream
or GridByteArrayOutputStream
to marshal and unmarshal objects.Modifier and Type | Field and Description |
---|---|
protected MarshallerContext |
ctx
Context.
|
static int |
DFLT_BUFFER_SIZE
Default initial buffer size for the
GridByteArrayOutputStream . |
Constructor and Description |
---|
AbstractMarshaller() |
Modifier and Type | Method and Description |
---|---|
MarshallerContext |
getContext() |
abstract void |
onUndeploy(ClassLoader ldr)
Undeployment callback invoked when class loader is being undeployed.
|
void |
setContext(MarshallerContext ctx)
Sets marshaller context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
marshal, marshal, unmarshal, unmarshal
public static final int DFLT_BUFFER_SIZE
GridByteArrayOutputStream
.protected MarshallerContext ctx
public abstract void onUndeploy(ClassLoader ldr)
ldr
- Class loader being undeployed.public MarshallerContext getContext()
public void setContext(MarshallerContext ctx)
setContext
in interface Marshaller
ctx
- Marshaller context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023