A default
IoEventSizeEstimator implementation.
Martin's Java Notes
was used for estimation. For unknown types, it inspects declaring fields of the
class of the specified event and the parameter of the event. The size of unknown
declaring fields are approximated to the specified averageSizePerField
(default: 64).
All the estimated sizes of classes are cached for performance improvement.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 595517 $, $Date: 2007-11-15 18:31:56 -0700 (Thu, 15 Nov 2007) $ |