#include <coherence/net/cache/AbstractBundler.hpp>
Inherits Object.
Public Types | ||||
typedef spec::Handle | Handle | |||
Statistics Handle definition. | ||||
typedef spec::View | View | |||
Statistics View definition. | ||||
typedef spec::Holder | Holder | |||
Statistics Holder definition. | ||||
Public Member Functions | ||||
virtual void | reset () | |||
Reset the statistics. | ||||
virtual void | toStream (std::ostream &out) const | |||
Output a human-readable description of this Object to the given stream. coherence::lang::operator<<(std::ostream, Object::View) is defined and will call into the toStream method, to output Objects. If a managed String object is desired, the COH_TO_STRING macro can be used to build up a String from streamable contents.
Object::View vKey = ... Object::View vValue = ... std::cout << vKey << " = " << vValue << std::endl; String::Handle hs = COH_TO_STRING(vKey << " = " << vValue);
| ||||
Protected Attributes | ||||
int32_t | m_cAverageBurstDuration | |||
An average time for bundled request processing (burst). | ||||
int32_t | m_cAverageBundleSize | |||
An average bundle size for this Bundler. | ||||
int32_t | m_cAverageThreadWaitDuration | |||
An average thread waiting time caused by under-filled bundle. | ||||
int32_t | m_nAverageThroughput | |||
An average bundled request throughput in size units per millisecond (total bundle size over total processing time). | ||||
int64_t | m_cBundleCountSnapshot | |||
Snapshot for a total number of processed bundled. | ||||
int64_t | m_cBundleSizeSnapshot | |||
Snapshot for a total size of processed bundled. | ||||
int64_t | m_cBurstDurationSnapshot | |||
Snapshot for a burst duration. | ||||
int64_t | m_cThreadWaitSnapshot | |||
Snapshot for a combined thread waiting time. |
int32_t m_cAverageThreadWaitDuration [protected] |
An average thread waiting time caused by under-filled bundle.
The wait time includes the time spend in the bundled request processing.