DistributedState is a service on top of HAPartition that provides a cluster-wide distributed state. The DistributedState (DS) service provides a <String category, Serializable key, Serializable value> tuple map. Thus, any service, application, container, ... can request its own DS "private space" by working* in its own category (a string name). You work in a category like a Dictionary: you set values by key within a category. Each time a value is added/modified/removed, the modification is made cluster-wide, on all other nodes. Reading values is always made locally (no network access!) Objects can also subscribe to DS events to be notified when values are modified/removed/added in a particular category.
@author
Sacha Labourey.
@author Scott.Stark@jboss.org
@version $Revision: 67692 $
@see HAPartition