Show / Hide Table of Contents

Class SerializationHelper.Stats

Serialization statistics for a given user type.

Inheritance
object
SerializationHelper.Stats
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.