Apache Tomcat 6.0.53

org.apache.catalina.tribes.membership
Class Membership.MbrEntry

java.lang.Object
  extended by org.apache.catalina.tribes.membership.Membership.MbrEntry
Enclosing class:
Membership

protected static class Membership.MbrEntry
extends java.lang.Object

Inner class that represents a member entry


Field Summary
protected  long lastHeardFrom
           
protected  MemberImpl mbr
           
 
Constructor Summary
Membership.MbrEntry(MemberImpl mbr)
           
 
Method Summary
 void accessed()
          Indicate that this member has been accessed.
 MemberImpl getMember()
          Return the actual Member object
 boolean hasExpired(long maxtime)
          Check if this dude has expired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mbr

protected MemberImpl mbr

lastHeardFrom

protected long lastHeardFrom
Constructor Detail

Membership.MbrEntry

public Membership.MbrEntry(MemberImpl mbr)
Method Detail

accessed

public void accessed()
Indicate that this member has been accessed.


getMember

public MemberImpl getMember()
Return the actual Member object


hasExpired

public boolean hasExpired(long maxtime)
Check if this dude has expired

Parameters:
maxtime - The time threshold

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.