This class efficiently checks the inactive sessions. Supposing that at a specific moment there are N total sessions connected and from these sessions there are M sessions that are inactive (M is lower than or equal to N) then this class will detect the inactive sessions with O(M) time complexity.
Note: A modification of the expire (when becoming inactive) time of a sessions has approximatively O(log N) time complexity.
This class is thread safe. @author The Apache MINA Project (dev@mina.apache.org)
|
|
|
|
|
|
|
|
|
|