Document thread-safety of final fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8884e1b686
commit
025def7c3f
|
@ -75,13 +75,13 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
|||
private final Log log = LogFactory.getLog(getClass());
|
||||
|
||||
/** The schemes supported by this connection manager. */
|
||||
protected final SchemeRegistry schemeRegistry;
|
||||
protected final SchemeRegistry schemeRegistry; // @ThreadSafe
|
||||
|
||||
/** The pool of connections being managed. */
|
||||
protected final AbstractConnPool connectionPool;
|
||||
|
||||
/** The operator for opening and updating connections. */
|
||||
protected final ClientConnectionOperator connOperator;
|
||||
protected final ClientConnectionOperator connOperator; // DefaultClientConnectionOperator is @ThreadSafe
|
||||
|
||||
/**
|
||||
* Creates a new thread safe connection manager.
|
||||
|
@ -137,7 +137,7 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
|||
protected ClientConnectionOperator
|
||||
createConnectionOperator(SchemeRegistry schreg) {
|
||||
|
||||
return new DefaultClientConnectionOperator(schreg);
|
||||
return new DefaultClientConnectionOperator(schreg);// @ThreadSafe
|
||||
}
|
||||
|
||||
public SchemeRegistry getSchemeRegistry() {
|
||||
|
|
Loading…
Reference in New Issue