org.mmbase.clustering
Class ChangeManager

java.lang.Object
  extended by 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()

Constructor Summary
ChangeManager()
           
 
Method Summary
 void commit(Map<MMObjectNode,String> changes)
          Commit all changes stored in a Changes map.
 void commit(MMObjectNode node, String change)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeManager

public ChangeManager()
Method Detail

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