Class ReplicationStartupManager

java.lang.Object
com.j_spaces.core.cluster.startup.ReplicationStartupManager
All Implemented Interfaces:
SpaceConnectionListener

public class ReplicationStartupManager extends Object implements SpaceConnectionListener
ReplicationStartupManager handles the space startup state in persistent replicated cluster. Space startup state is needed to keep track of the last space in cluster that was up, since it holds the most updated cluster state. The ReplicationStartupManager monitors all the target spaces in cluster. Initial spaces state is updated at space startup in SpaceImpl. Connection events are received from the AbstractReplicationChannel and disconnect events from GigaSpacesFaultDetectionHandler. Default ReplicationStartupManager implementation stores space state to file. This behavior can be changed by overriding the saveState and loadState methods.
Since:
5.1
Version:
1.0
Author:
anna