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 int
May be changed during bumping ininvalid reference
CommunicationTracker.registerDependency
boolean
Marker for theCommunicationTracker
protected final Node
protected final CommunicationTracker
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionCommunicationGroup
(CommunicationTracker tracker, Node representative, int identifier) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CommunicationGroup that) abstract void
boolean
abstract Map
<MessageSelector, Collection<Mailbox>> int
hashCode()
abstract boolean
isEmpty()
abstract boolean
abstract void
notifyHasMessage
(Mailbox mailbox, MessageSelector kind) abstract void
notifyLostAllMessages
(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:
compareTo
in interfaceComparable<CommunicationGroup>
-