#include <coherence/util/SerializationHelper.hpp>
Inherits Object.
Public Types | |
| typedef spec::Handle | Handle |
| Stats Handle definition. | |
| typedef spec::View | View |
| Stats View definition. | |
| typedef spec::Holder | Holder |
| Stats Holder definition. | |
Public Member Functions | |
| virtual void | update (int32_t cb) |
| Update the serialization statistics with the size (in bytes) of a newly serialized object. | |
| virtual WriteBuffer::Handle | instantiateBuffer () const |
| Instantiate a WriteBuffer to write a user type for which this Stats object maintains serialization statistics. | |
Protected Member Functions | |
| Stats () | |
| Create a new Stats. | |
| virtual void update | ( | int32_t | cb | ) | [virtual] |
Update the serialization statistics with the size (in bytes) of a newly serialized object.
| cb | the number of bytes used to serialize |
| virtual WriteBuffer::Handle instantiateBuffer | ( | ) | const [virtual] |
Instantiate a WriteBuffer to write a user type for which this Stats object maintains serialization statistics.