com.sun.sgs.impl.service.channel
Class ChannelServiceStats

java.lang.Object
  extended by com.sun.sgs.impl.service.channel.ChannelServiceStats
All Implemented Interfaces:
ChannelServiceMXBean

 class ChannelServiceStats
extends Object
implements ChannelServiceMXBean

The Statistics MBean object for the channel service.


Field Summary
(package private)  ProfileOperation createChannelOp
           
(package private)  ProfileOperation getChannelOp
           
 
Fields inherited from interface com.sun.sgs.management.ChannelServiceMXBean
MXBEAN_NAME
 
Constructor Summary
ChannelServiceStats(ProfileCollector collector)
           
 
Method Summary
 long getCreateChannelCalls()
          Returns the number of times createChannel has been called.
 long getGetChannelCalls()
          Returns the number of times getChannel has been called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

createChannelOp

final ProfileOperation createChannelOp

getChannelOp

final ProfileOperation getChannelOp
Constructor Detail

ChannelServiceStats

ChannelServiceStats(ProfileCollector collector)
Method Detail

getCreateChannelCalls

public long getCreateChannelCalls()
Returns the number of times createChannel has been called.

Specified by:
getCreateChannelCalls in interface ChannelServiceMXBean
Returns:
the number of times createChannel has been called

getGetChannelCalls

public long getGetChannelCalls()
Returns the number of times getChannel has been called.

Specified by:
getGetChannelCalls in interface ChannelServiceMXBean
Returns:
the number of times getChannel has been called

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved