protected static class Membership.MbrEntry extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
lastHeardFrom |
protected 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 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-2016 Apache Software Foundation. All Rights Reserved.