hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-1005) API surface of caching module can be reduced
Date Sat, 16 Oct 2010 12:19:23 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921680#action_12921680
] 

Oleg Kalnichevski commented on HTTPCLIENT-1005:
-----------------------------------------------

Jon

How about trying to find the middle ground? 

I made HttpCache and BasicHttpCache package provide as these classes are more likely to require
major changes than any other. I left HttpCacheEntry and HttpCacheStorage related classes public
for the time being. HttpCacheEntry is a concrete class and it is final. HttpCacheStorage and
friends are relatively simple and straight-forward and we already have a number of diverse
implementations so they seem flexible enough. I am quite confident we can maintain full API
compatibility with these classes in the future. 

Please review and let me know if I should make above mentioned classes package private as
well.

Oleg

> API surface of caching module can be reduced
> --------------------------------------------
>
>                 Key: HTTPCLIENT-1005
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1005
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>         Attachments: smaller-api.patch
>
>
> While the caching module can currently be considered functional and useful for folks
as-is, there are several near-term enhancements planned that could change the exposed binary
API of the caching module (although it is not yet clear whether they would or not). In an
effort to allow the 4.1 GA release to go forward while hedging bets against future development,
we should consider drastically reducing the exposed binary API of the caching module, and
not exposing extension points until someone explicitly asks for them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message