hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asan...@apache.org
Subject svn commit: r1144157 - /httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
Date Fri, 08 Jul 2011 05:07:11 GMT
Author: asankha
Date: Fri Jul  8 05:07:11 2011
New Revision: 1144157

URL: http://svn.apache.org/viewvc?rev=1144157&view=rev
Log:
expose iosession creation, last read, write and access times as public

Modified:
    httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java

Modified: httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java?rev=1144157&r1=1144156&r2=1144157&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
(original)
+++ httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
Fri Jul  8 05:07:11 2011
@@ -263,19 +263,19 @@ public class IOSessionImpl implements IO
         this.attributes.put(name, obj);
     }
 
-    synchronized long getStartedTime() {
+    public synchronized long getStartedTime() {
         return this.startedTime;
     }
 
-    synchronized long getLastReadTime() {
+    public synchronized long getLastReadTime() {
         return this.lastReadTime;
     }
 
-    synchronized long getLastWriteTime() {
+    public synchronized long getLastWriteTime() {
         return this.lastWriteTime;
     }
 
-    synchronized long getLastAccessTime() {
+    public synchronized long getLastAccessTime() {
         return this.lastAccessTime;
     }
 



Mime
View raw message