@Deprecated public class LegacyStateTransferGenerator extends Object implements StateTransferGenerator
Modifier and Type | Field and Description |
---|---|
static short |
STATE_TRANSFER_VERSION
Deprecated.
|
Constructor and Description |
---|
LegacyStateTransferGenerator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
delimitStream(ObjectOutputStream out)
Deprecated.
Places a delimiter marker on the stream
|
protected void |
generateNodeDataList(NodeSPI<?,?> node,
List<NodeData> list)
Deprecated.
|
void |
generateState(ObjectOutputStream out,
Object rootNode,
boolean generateTransient,
boolean generatePersistent,
boolean suppressErrors)
Deprecated.
|
void |
inject(CacheSPI cache)
Deprecated.
|
protected void |
marshallTransientState(NodeSPI node,
ObjectOutputStream out)
Deprecated.
Do a preorder traversal: visit the node first, then the node's children
|
public void inject(CacheSPI cache)
public void generateState(ObjectOutputStream out, Object rootNode, boolean generateTransient, boolean generatePersistent, boolean suppressErrors) throws Exception
generateState
in interface StateTransferGenerator
Exception
protected void delimitStream(ObjectOutputStream out) throws Exception
out
- streamIOException
- if there are errsException
protected void marshallTransientState(NodeSPI node, ObjectOutputStream out) throws Exception
out
- Exception
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.