|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.replication.priority.AbstractPriorityChecker
org.exoplatform.services.jcr.ext.replication.priority.StaticPriorityChecker
public class StaticPriorityChecker
Created by The eXo Platform SAS.
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.services.jcr.ext.replication.priority.AbstractPriorityChecker |
|---|
channelManager, currentParticipants, identifier, MAX_PRIORITY, memberListener, otherParticipants, ownName, ownPriority |
| Constructor Summary | |
|---|---|
StaticPriorityChecker(ChannelManager channelManager,
int ownPriority,
java.lang.String ownName,
java.util.List<java.lang.String> otherParticipants)
StaticPriorityChecker constructor. |
|
| Method Summary | |
|---|---|
boolean |
isMaxPriority()
isMaxPriority. |
void |
receive(Packet packet)
receive. Will be called this method when receive the Packet. |
| Methods inherited from class org.exoplatform.services.jcr.ext.replication.priority.AbstractPriorityChecker |
|---|
informAll, isAllOnline, isMaxOnline, printOnlineMembers, setMemberListener, waitView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticPriorityChecker(ChannelManager channelManager,
int ownPriority,
java.lang.String ownName,
java.util.List<java.lang.String> otherParticipants)
channelManager - the ChannelManagerownPriority - the own priorityownName - the own nameotherParticipants - the list of names to other participants| Method Detail |
|---|
public void receive(Packet packet)
receive in interface PacketListenerreceive in class AbstractPriorityCheckerpacket - the Packet object.public boolean isMaxPriority()
isMaxPriority in class AbstractPriorityChecker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||