JGroups Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 19: Line 19:
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:
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]
[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).
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).