JGroups Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[JGroups#Concepts|JGroups]]
* [[JGroups#Concepts|JGroups]]
=Channel=
=Group=
=Relationship between a Channel and a Group=


=View=
=View=


Practical ways to determine the current view:
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[JGroups Troubleshooting Techniques#Practical_Ways_to_Determine_the_Current_View|Practical Ways to Determine the Current View]]
</blockquote>
 
==VIewID==
 
The ViewID is used to uniquely number views. It consists of the address of the view creator and a sequence number. ViewIds can be compared for equality and put in a hashmaps as they implement equals() and hashCode(). Example:
 
<pre>
[space-24:server1/SchemaRepository|11]
</pre>


* [[JGroups Protocol GMS#Current_Group_Membership|Group Membership based on GMS log entries]]
where space-24:server1 is the host name, and "SchemaRepository" is the group name (cache container in JBoss 7).
* [[JGroups Protocol FD_SOCK#VIEW_CHANGE|Group Membership based on FD_SOCK VIEW_CHANGE log entries]]
* [[WildFly CLI - Obtaining the Current JGroups View|Current view obtained with the WildFly CLI]]

Latest revision as of 20:23, 8 August 2016

Internal

Channel

Group

Relationship between a Channel and a Group

View

Practical Ways to Determine the Current View

VIewID

The ViewID is used to uniquely number views. It consists of the address of the view creator and a sequence number. ViewIds can be compared for equality and put in a hashmaps as they implement equals() and hashCode(). Example:

[space-24:server1/SchemaRepository|11]

where space-24:server1 is the host name, and "SchemaRepository" is the group name (cache container in JBoss 7).