On Dec 10, 2007 4:02 PM, Frédéric Brégier <[EMAIL PROTECTED]> wrote: > Hi all, > I try to use the fields of Mina's statistics, > but most of the fields (throughput, byte read or written, ...) > are always to 0. > As far as I saw in the code, the number are only updated > when a session becomes idle. I suppose the reason was > for performance ?
That's weird. All statistic properties must be updated on-line. It might be a bug. Let me investigate. > This situation is almost never true for me, since when the > work is done, my session is closed so never (almost) idle. > Is there another way to get the number on past sessions ? IoService.getCumulativeManagedSessionCount() should provide what you want. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6