org.mmbase.clustering
Class ChangeManager
java.lang.Object
org.mmbase.clustering.ChangeManager
public final class ChangeManager
- extends Object
This utility class contains the methods for broadcasting/registering changes on nodes. It is
available as 'getChangeManager()' from the StorageManagerFactory.
- Version:
- $Id: ChangeManager.java 35964 2009-06-11 06:56:08Z michiel $
- Author:
- Pierre van Rooden
- See Also:
StorageManagerFactory.getChangeManager()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeManager
public ChangeManager()
commit
public void commit(Map<MMObjectNode,String> changes)
- Commit all changes stored in a Changes map.
Clears the change status of all changed nodes, then broadcasts changes to the
nodes' builders.
- Parameters:
changes - a map with node/change value pairs
commit
public void commit(MMObjectNode node,
String change)
MMBase 2.0-SNAPSHOT - null