protected static class Membership.MbrEntry
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected long |
lastHeardFrom |
|
protected Member |
mbr |
Modifier and Type | Method | Description |
---|---|---|
void |
accessed() |
Indicate that this member has been accessed.
|
Member |
getMember() |
Obtain the member associated with this entry.
|
boolean |
hasExpired(long maxtime) |
Check if this member has expired.
|
protected final Member mbr
protected long lastHeardFrom
public MbrEntry(Member mbr)
public void accessed()
public Member getMember()
public boolean hasExpired(long maxtime)
maxtime
- The time thresholdtrue
if the member has expired, otherwise
false
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.