Class Membership.MbrEntry
java.lang.Object
org.apache.catalina.tribes.membership.Membership.MbrEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccessed()Indicate that this member has been accessed.Obtain the member associated with this entry.booleanhasExpired(long maxtime) Check if this member has expired.
-
Field Details
-
mbr
-
lastHeardFrom
protected long lastHeardFrom
-
-
Constructor Details
-
MbrEntry
-
-
Method Details
-
accessed
public void accessed()Indicate that this member has been accessed. -
getMember
Obtain the member associated with this entry.- Returns:
- The member for this entry.
-
hasExpired
public boolean hasExpired(long maxtime) Check if this member has expired.- Parameters:
maxtime- The time threshold- Returns:
trueif the member has expired, otherwisefalse
-