JGroups Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 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=


[[JGroups Troubleshooting Techniques#Practical_Ways_to_Determine_the_Current_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>
 
where space-24:server1 is the host name, and "SchemaRepository" is the group name (cache container in JBoss 7).

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).