|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.replication.recovery.ConnectionFailDetector
public class ConnectionFailDetector
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
ConnectionFailDetector(ChannelManager channelManager,
WorkspaceDataContainer dataContainer,
RecoveryManager recoveryManager,
int ownPriority,
java.util.List<java.lang.String> otherParticipants,
java.lang.String ownName,
java.lang.String priprityType)
ConnectionFailDetector constructor. |
|
| Method Summary | |
|---|---|
void |
block()
|
void |
channelClosed(org.jgroups.Channel channel)
|
void |
channelConnected(org.jgroups.Channel channel)
|
void |
channelDisconnected(org.jgroups.Channel channel)
|
void |
channelReconnected(org.jgroups.Address address)
|
void |
channelShunned()
|
void |
memberRejoin()
Will be called this method when members is rejoin. |
void |
memberSuspect()
Call this method if maxPriority member was suspected. |
void |
suspect(org.jgroups.Address adrress)
|
void |
viewAccepted(org.jgroups.View view)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionFailDetector(ChannelManager channelManager,
WorkspaceDataContainer dataContainer,
RecoveryManager recoveryManager,
int ownPriority,
java.util.List<java.lang.String> otherParticipants,
java.lang.String ownName,
java.lang.String priprityType)
channelManager - the ChannelManagerdataContainer - the WorkspaceDatarecoveryManager - the RecoveryManagerownPriority - the own priorityotherParticipants - the list of names to other participants in clusterownName - the own name in clusterpriprityType - the priority type (dynamic or static)s| Method Detail |
|---|
public void channelClosed(org.jgroups.Channel channel)
channelClosed in interface org.jgroups.ChannelListenerpublic void channelConnected(org.jgroups.Channel channel)
channelConnected in interface org.jgroups.ChannelListenerpublic void channelDisconnected(org.jgroups.Channel channel)
channelDisconnected in interface org.jgroups.ChannelListenerpublic void channelReconnected(org.jgroups.Address address)
channelReconnected in interface org.jgroups.ChannelListenerpublic void channelShunned()
channelShunned in interface org.jgroups.ChannelListenerpublic void block()
block in interface org.jgroups.MembershipListenerpublic void suspect(org.jgroups.Address adrress)
suspect in interface org.jgroups.MembershipListenerpublic void viewAccepted(org.jgroups.View view)
viewAccepted in interface org.jgroups.MembershipListenerpublic void memberRejoin()
memberRejoin in interface MemberListenerpublic void memberSuspect()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||