1 22 package org.jboss.mq.server; 23 24 27 public interface MessageCacheMBean extends org.jboss.system.ServiceMBean 28 { 29 30 public static final javax.management.ObjectName OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory 32 .create("jboss.mq:service=MessageCache"); 33 34 38 org.jboss.mq.server.MessageCache getInstance(); 39 40 44 int getHardRefCacheSize(); 45 46 50 long getSoftenedSize(); 51 52 56 int getSoftRefCacheSize(); 57 58 62 int getTotalCacheSize(); 63 64 68 long getCacheMisses(); 69 70 74 long getCacheHits(); 75 76 79 boolean getMakeSoftReferences(); 80 81 84 void setMakeSoftReferences(boolean makeSoftReferences); 85 86 89 int getMinimumHard(); 90 91 94 void setMinimumHard(int minimumHard); 95 96 99 int getMaximumHard(); 100 101 104 void setMaximumHard(int maximumHard); 105 106 109 long getSoftenWaitMillis(); 110 111 114 void setSoftenWaitMillis(long millis); 115 116 119 long getSoftenNoMoreOftenThanMillis(); 120 121 124 void setSoftenNoMoreOftenThanMillis(long millis); 125 126 129 long getSoftenAtLeastEveryMillis(); 130 131 134 void setSoftenAtLeastEveryMillis(long millis); 135 136 140 long getHighMemoryMark(); 141 142 146 void setHighMemoryMark(long highMemoryMark); 147 148 152 long getMaxMemoryMark(); 153 154 158 void setMaxMemoryMark(long maxMemoryMark); 159 160 164 long getCurrentMemoryUsage(); 165 166 void setCacheStore(javax.management.ObjectName cacheStoreName); 167 168 172 javax.management.ObjectName getCacheStore(); 173 174 } 175 | Popular Tags |