Class SerializationHelper.Stats
Serialization statistics for a given user type.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
protected class SerializationHelper.Stats
Methods
InstantiateBuffer()
Instantiate a WriteBuffer to write a user type for which this Stats object maintains serialization statistics.
Declaration
public BinaryMemoryStream InstantiateBuffer()
Returns
Type | Description |
---|---|
BinaryMemoryStream | A WriteBuffer to write to. |
Update(int)
Update the serialization statistics with the size (in bytes) of a newly serialized object.
Declaration
public void Update(int cb)
Parameters
Type | Name | Description |
---|---|---|
int | cb | The number of bytes used to serialize. |