Class CommunicationGroup
java.lang.Object
tools.refinery.interpreter.rete.network.communication.CommunicationGroup
- All Implemented Interfaces:
Comparable<CommunicationGroup>
- Direct Known Subclasses:
RecursiveCommunicationGroup,SingletonCommunicationGroup,TimelyCommunicationGroup
A communication group represents a set of nodes in the communication graph that form a strongly connected component.
- Since:
- 1.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intMay be changed during bumping ininvalid reference
CommunicationTracker.registerDependencybooleanMarker for theCommunicationTrackerprotected final Nodeprotected final CommunicationTrackerstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionCommunicationGroup(CommunicationTracker tracker, Node representative, int identifier) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CommunicationGroup that) abstract voidbooleanabstract Map<MessageSelector, Collection<Mailbox>> inthashCode()abstract booleanisEmpty()abstract booleanabstract voidnotifyHasMessage(Mailbox mailbox, MessageSelector kind) abstract voidnotifyLostAllMessages(Mailbox mailbox, MessageSelector kind) toString()
-
Field Details
-
UNSUPPORTED_MESSAGE_KIND
- See Also:
-
isEnqueued
public boolean isEnqueuedMarker for theCommunicationTracker -
representative
-
identifier
protected int identifierMay be changed during bumping ininvalid reference
CommunicationTracker.registerDependency -
tracker
- Since:
- 1.7
-
-
Constructor Details
-
CommunicationGroup
- Since:
- 1.7
-
-
Method Details
-
deliverMessages
public abstract void deliverMessages() -
getRepresentative
-
isEmpty
public abstract boolean isEmpty() -
notifyLostAllMessages
- Since:
- 2.0
-
notifyHasMessage
- Since:
- 2.0
-
getMailboxes
-
isRecursive
public abstract boolean isRecursive() -
hashCode
public int hashCode() -
toString
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<CommunicationGroup>
-