Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » server » [javadoc | source]
org.jboss.ha.framework.server
public class: DistributedStateImpl [javadoc | source]
java.lang.Object
   org.jboss.ha.framework.server.DistributedStateImpl

All Implemented Interfaces:
    DistributedStateImplMBean

This class manages distributed state across the cluster.
Field Summary
protected static final  String SERVICE_NAME     
protected static final  Class[] set_types     
protected static final  Class[] remove_types     
protected  HashMap keyListeners     
protected  HAPartition partition     
protected  Logger log     
protected  String name     
protected  Cache cache     
protected  boolean replAsync     
public static final  String ROOT     
public static final  Fqn ROOTFQN     
public static final  int ROOTFQNSIZE     
Constructor:
 public DistributedStateImpl() 
Method from org.jboss.ha.framework.server.DistributedStateImpl Summary:
buildFqn,   buildFqn,   buildFqn,   cleanupKeyListeners,   createService,   destroyService,   get,   getAllCategories,   getAllKeys,   getAllValues,   getClusteredCache,   getNode,   listContent,   listXmlContent,   nodeModified,   notifyKeyListeners,   notifyKeyListenersOfRemove,   registerDSListener,   registerDSListenerEx,   registerListener,   remove,   remove,   set,   set,   setClusteredCache,   startService,   stopService,   unregisterDSListener,   unregisterDSListenerEx,   unregisterListener
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.framework.server.DistributedStateImpl Detail:
 protected Fqn buildFqn(String category) 
    ExtendedTreeCacheListener methods
 protected Fqn buildFqn(String category,
    Serializable key) 
 protected Fqn buildFqn(String category,
    Serializable key,
    Serializable value) 
 protected  void cleanupKeyListeners() 
 protected  void createService() throws Exception 
 public  void destroyService() throws Exception 
 public Serializable get(String category,
    Serializable key) 
 public Collection getAllCategories() 
 public Collection getAllKeys(String category) 
 public Collection getAllValues(String category) 
 public Cache getClusteredCache() 
 protected Node getNode(String category) throws CacheException 
 public String listContent() throws Exception 
 public String listXmlContent() throws Exception 
 public  void nodeModified(NodeModifiedEvent event) 
 protected  void notifyKeyListeners(String category,
    Serializable key,
    Serializable value,
    boolean locallyModified) 
 protected  void notifyKeyListenersOfRemove(String category,
    Serializable key,
    Serializable oldContent,
    boolean locallyModified) 
 public  void registerDSListener(String category,
    DSListener subscriber) 
 public  void registerDSListenerEx(String category,
    DSListenerEx subscriber) 
 protected  void registerListener(String category,
    Object subscriber) 
 public Serializable remove(String category,
    Serializable key) throws Exception 
 public Serializable remove(String category,
    Serializable key,
    boolean asynchronousCall) throws Exception 
 public  void set(String category,
    Serializable key,
    Serializable value) throws Exception 
 public  void set(String category,
    Serializable key,
    Serializable value,
    boolean asynchronousCall) throws Exception 
 public  void setClusteredCache(Cache cache) 
    Sets the cache to use.
 public  void startService() throws Exception 
 public  void stopService() throws Exception 
 public  void unregisterDSListener(String category,
    DSListener subscriber) 
 public  void unregisterDSListenerEx(String category,
    DSListenerEx subscriber) 
 protected  void unregisterListener(String category,
    Object subscriber)