Package | Description |
---|---|
org.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Field and Description |
---|---|
protected ViewId |
View.view_id
A view is uniquely identified by its ViewID.
|
Modifier and Type | Method and Description |
---|---|
ViewId |
ViewId.copy() |
ViewId |
View.getVid()
Deprecated.
|
ViewId |
View.getViewId()
Returns the view ID of this view
if this view was created with the empty constructur, null will be returned
|
Modifier and Type | Method and Description |
---|---|
int |
ViewId.compareTo(ViewId other)
Establishes an order between 2 ViewIds.
|
int |
ViewId.compareToIDs(ViewId other)
Establishes an order between 2 ViewIds.
|
Constructor and Description |
---|
MergeView(ViewId view_id,
Address[] members,
java.util.List<View> subgroups) |
MergeView(ViewId view_id,
java.util.List<Address> members,
java.util.List<View> subgroups)
Creates a new merge view
|
View(ViewId view_id,
Address[] members)
Creates a new view.
|
View(ViewId view_id,
java.util.Collection<Address> members)
Creates a new view
|
Modifier and Type | Field and Description |
---|---|
protected ViewId |
MERGE3.MergeHeader.view_id |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Address,ViewId> |
MERGE3.views |
Modifier and Type | Method and Description |
---|---|
ViewId |
Discovery.getViewId() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<ViewId,java.util.Set<Address>> |
MERGE3.convertViews() |
Modifier and Type | Method and Description |
---|---|
protected void |
MERGE3.addInfo(Address sender,
ViewId view_id,
java.lang.String logical_name,
PhysicalAddress physical_addr)
Adds received INFO to views hashmap
|
static MERGE3.MergeHeader |
MERGE3.MergeHeader.createInfo(ViewId view_id,
java.lang.String logical_name,
PhysicalAddress physical_addr) |
Constructor and Description |
---|
MergeHeader(MERGE3.MergeHeader.Type type,
ViewId view_id,
java.lang.String logical_name,
PhysicalAddress physical_addr) |
PingData(Address sender,
View view,
ViewId view_id,
boolean is_server,
java.lang.String logical_name,
java.util.Collection<PhysicalAddress> physical_addrs)
Deprecated.
Use the constructor with a single PhysicalAddress instead
|
Modifier and Type | Field and Description |
---|---|
protected ViewId |
DeltaView.ref_view_id
The fields left_members and new_members refer to the view corresponding to ref_view_id
|
protected ViewId |
STABLE.StableHeader.view_id |
protected ViewId |
STABLE.StabilitySendTask.view_id |
Modifier and Type | Method and Description |
---|---|
ViewId |
DeltaView.getRefViewId() |
ViewId |
GMS.getViewId() |
protected ViewId |
GMS.readViewId(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
protected void |
STABLE.handleStabilityMessage(Digest stable_digest,
Address sender,
ViewId view_id) |
protected void |
STABLE.handleStableMessage(Digest d,
Address sender,
ViewId view_id)
Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnos
seen for each member.
|
protected static Buffer |
GMS.marshal(ViewId view_id) |
protected void |
STABLE.sendStabilityMessage(Digest tmp,
ViewId view_id)
Schedules a stability message to be mcast after a random number of milliseconds (range 1-5 secs).
|
protected void |
STABLE.startStabilityTask(Digest d,
ViewId view_id,
long delay) |
Constructor and Description |
---|
DeltaView(ViewId view_id,
ViewId ref_view_id,
Address[] left_members,
Address[] new_members) |
StabilitySendTask(Digest d,
ViewId view_id) |
StableHeader(byte type,
ViewId view_id) |
Modifier and Type | Method and Description |
---|---|
static ViewId |
Util.readViewId(java.io.DataInput in) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Util.containsViewId(java.util.Collection<View> views,
ViewId vid) |
static int |
Util.size(ViewId vid) |
static void |
Util.writeViewId(ViewId vid,
java.io.DataOutput out) |
Copyright © 1998-2020 Red Hat. All Rights Reserved.