hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Exposing IOSession time values
Date Thu, 07 Jul 2011 20:49:25 GMT
Hi All

The IOSessionImpl maintains the session established and last read/write 
times which would be valuable for connection debugging especially on a 
timeout or disconnection. Will there be any objections to making the 
following methods public?

thanks
asankha

     synchronized long getStartedTime() {
         return this.startedTime;
     }

     synchronized long getLastReadTime() {
         return this.lastReadTime;
     }

     synchronized long getLastWriteTime() {
         return this.lastWriteTime;
     }

     synchronized long getLastAccessTime() {
         return this.lastAccessTime;
     }

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message