1 22 package org.jboss.cache.jmx; 23 24 import org.jboss.cache.Region; 25 import org.jgroups.jmx.JChannelFactoryMBean; 26 import org.w3c.dom.Element ; 27 28 import javax.transaction.TransactionManager ; 29 30 36 public interface CacheLegacyJmxWrapperMBean extends CacheJmxWrapperMBean 37 { 38 41 String getClusterName(); 42 43 46 void setClusterName(String name); 47 48 56 void setUseRegionBasedMarshalling(boolean isTrue); 57 58 63 boolean getUseRegionBasedMarshalling(); 64 65 71 boolean getExposeManagementStatistics(); 72 73 void setExposeManagementStatistics(boolean expose); 74 75 78 String getClusterProperties(); 79 80 85 void setClusterProperties(String cluster_props); 86 87 Element getCacheLoaderConfiguration(); 88 89 void setCacheLoaderConfiguration(Element cache_loader_config); 90 91 boolean getSyncCommitPhase(); 92 93 void setSyncCommitPhase(boolean sync_commit_phase); 94 95 boolean getSyncRollbackPhase(); 96 97 void setSyncRollbackPhase(boolean sync_rollback_phase); 98 99 Element getEvictionPolicyConfig(); 100 101 104 void setEvictionPolicyConfig(Element config); 105 106 109 void setClusterConfig(Element config); 110 111 116 long getInitialStateRetrievalTimeout(); 117 118 121 void setInitialStateRetrievalTimeout(long timeout); 122 123 128 String getCacheMode(); 129 130 133 void setCacheMode(String mode) throws Exception ; 134 135 140 long getSyncReplTimeout(); 141 142 145 void setSyncReplTimeout(long timeout); 146 147 boolean getUseReplQueue(); 148 149 void setUseReplQueue(boolean flag); 150 151 long getReplQueueInterval(); 152 153 void setReplQueueInterval(long interval); 154 155 int getReplQueueMaxElements(); 156 157 void setReplQueueMaxElements(int max_elements); 158 159 162 String getIsolationLevel(); 163 164 167 void setIsolationLevel(String level); 168 169 176 boolean getFetchInMemoryState(); 177 178 182 void setFetchInMemoryState(boolean flag); 183 184 197 String getReplicationVersion(); 198 199 211 void setReplicationVersion(String version); 212 213 218 long getLockAcquisitionTimeout(); 219 220 225 void setLockAcquisitionTimeout(long timeout); 226 227 String getTransactionManagerLookupClass(); 228 229 235 void setTransactionManagerLookupClass(String cl) throws Exception ; 236 237 TransactionManager getTransactionManager(); 238 239 void setTransactionManager(TransactionManager manager); 240 241 void setNodeLockingScheme(String nodeLockingScheme); 242 243 String getNodeLockingScheme(); 244 245 253 boolean isInactiveOnStartup(); 254 255 263 void setInactiveOnStartup(boolean inactiveOnStartup); 264 265 270 void setBuddyReplicationConfig(Element config); 271 272 277 Element getBuddyReplicationConfig(); 278 279 284 String getMultiplexerService(); 285 286 292 void setMultiplexerService(String serviceName); 293 294 299 String getMultiplexerStack(); 300 301 307 void setMultiplexerStack(String stackName); 308 309 JChannelFactoryMBean getMuxChannelFactory(); 310 311 void setMuxChannelFactory(JChannelFactoryMBean factory); 312 313 } 314 | Popular Tags |