1 4 package com.tc.management.beans.tx; 5 6 import java.util.Map ; 7 8 import javax.management.openmbean.OpenDataException ; 9 import javax.management.openmbean.TabularData ; 10 11 import com.tc.management.TerracottaMBean; 12 13 public interface ClientTxMonitorMBean extends TerracottaMBean { 14 15 20 int getReadTransactionCount(); 21 22 int getReadTransactionRatePerSecond(); 23 24 int getWriteTransactionCount(); 25 26 int getWriteTransactionRatePerSecond(); 27 28 int getMinWritesPerWriteTransaction(); 29 30 int getMaxWritesPerWriteTransaction(); 31 32 int getMaxModifiedObjectsPerTransaction(); 33 34 int getAvgModifiedObjectsPerTransaction(); 35 36 int getObjectModificationRatePerSecond(); 37 38 int getMaxNewObjectsPerTransaction(); 39 40 int getAvgNewObjectsPerTransaction(); 41 42 int getObjectCreationRatePerSecond(); 43 44 int getMaxNotificationsPerTransaction(); 45 46 int getAvgNotificationsPerTransaction(); 47 48 int getMaxWritesPerObject(); 49 50 int getAvgWritesPerObject(); 51 52 TabularData getObjectCreationCountByClass() throws OpenDataException ; 53 54 void reset(); 55 56 void committedReadTransaction(); 57 58 64 void committedWriteTransaction(final int notifyCount, final int modifiedObjectCount, final int[] writeCountPerObject, 65 final Map newObjectCountByClass); 66 67 } 68 | Popular Tags |