XNIO API 2.0.0.GA

org.jboss.xnio.management
Interface WritableChannelStats

All Known Subinterfaces:
ChannelStats, OneWayPipeConnectionMBean, PipeConnectionMBean, TcpConnectionMBean, UdpServerMBean, UdpServerMBean.Channel

public interface WritableChannelStats

Statistics for entities which write bytes and messages.

Since:
1.2
Author:
robhadfield

Method Summary
 long getBytesWritten()
          Get the number of bytes written to this channel.
 long getMessagesWritten()
          Get the number of write operations performed on this channel.
 

Method Detail

getBytesWritten

long getBytesWritten()
Get the number of bytes written to this channel.

Returns:
the number of bytes

getMessagesWritten

long getMessagesWritten()
Get the number of write operations performed on this channel.

Returns:
the number of messages

XNIO API 2.0.0.GA

Copyright © 2009 JBoss, a division of Red Hat, Inc.