1 22 package org.jboss.web.tomcat.tc6.session; 23 24 import org.apache.catalina.Cluster; 25 import org.apache.catalina.LifecycleException; 26 27 35 public interface JBossCacheClusterMBean extends Cluster 36 { 37 public abstract boolean isUseJK(); 38 39 public abstract void setUseJK(boolean useJK); 40 41 public abstract boolean isUseLocalCache(); 42 43 public abstract void setUseLocalCache(boolean useLocalCache); 44 45 public abstract String getManagerClassName(); 46 47 public abstract void setManagerClassName(String managerClassName); 48 49 public abstract String getDefaultReplicationGranularity(); 50 51 public abstract void setDefaultReplicationGranularity(String defaultGran); 52 53 public abstract String getDefaultReplicationTrigger(); 54 55 public abstract void setDefaultReplicationTrigger(String defaultTrigger); 56 57 public boolean getDefaultReplicationFieldBatchMode(); 58 59 public void setDefaultReplicationFieldBatchMode(boolean replicationFieldBatchMode); 60 61 public abstract int getSnapshotInterval(); 62 63 public abstract void setSnapshotInterval(int snapshotInterval); 64 65 public abstract String getSnapshotMode(); 66 67 public abstract void setSnapshotMode(String snapshotMode); 68 69 public abstract String getCacheObjectName(); 70 71 public abstract void setCacheObjectName(String objectName); 72 73 public abstract void start() throws LifecycleException; 74 75 78 public abstract void stop() throws LifecycleException; 79 80 } | Popular Tags |