01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.net;
05:
06: import com.tc.net.groups.NodeID;
07: import com.tc.net.protocol.tcm.MessageChannel;
08: import com.tc.stats.counter.Counter;
09:
10: public interface ChannelStats {
11: public static final String OBJECT_REQUEST_RATE = "objectRequestRate";
12: public static final String OBJECT_FLUSH_RATE = "objectFlushRate";
13: public static final String TXN_RATE = "transactionRate";
14:
15: public Counter getCounter(MessageChannel channel, String name);
16:
17: public void notifyTransaction(NodeID nodeID);
18: }
|