protected static class Membership.MbrEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
lastHeardFrom |
protected Member |
mbr |
Constructor and Description |
---|
Membership.MbrEntry(Member mbr) |
Modifier and Type | Method and 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 Membership.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-2018 Apache Software Foundation. All Rights Reserved.