KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > net > ChannelStats


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.net;
5
6 import com.tc.net.protocol.tcm.ChannelID;
7 import com.tc.net.protocol.tcm.MessageChannel;
8 import com.tc.stats.counter.Counter;
9
10 public interface ChannelStats {
11   public static final String JavaDoc OBJECT_REQUEST_RATE = "objectRequestRate";
12   public static final String JavaDoc OBJECT_FLUSH_RATE = "objectFlushRate";
13   public static final String JavaDoc TXN_RATE = "transactionRate";
14
15   public Counter getCounter(MessageChannel channel, String JavaDoc name);
16
17   public void notifyTransaction(ChannelID channelID);
18 }
19
Popular Tags