Changeset 2870 for SRUClient


Ignore:
Timestamp:
05/06/13 19:47:29 (11 years ago)
Author:
oschonef
Message:
  • mark methods returning Future<> results in threaded interface deprecated

HEADS UP: Methods will be removed in future versions. Use asynchronous callback variants instead.

Location:
SRUClient/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRUThreadedClient.java

    r2466 r2870  
    151151     * @throws NullPointerException
    152152     *             if any required argument is <code>null</code>
    153      */
     153     * @deprecated Use asynchronous callback interface
     154     *             {@link #explain(SRUExplainRequest, SRUCallback)}. This method
     155     *             will be removed in the future.
     156     */
     157    @Deprecated
    154158    public Future<SRUExplainResponse> explain(SRUExplainRequest request)
    155159            throws SRUClientException {
     
    218222     * @throws NullPointerException
    219223     *             if any required argument is <code>null</code>
    220      */
     224     * @deprecated Use asynchronous callback interface
     225     *             {@link #scan(SRUScanRequest, SRUCallback)}. This method
     226     *             will be removed in the future.
     227     */
     228    @Deprecated
    221229    public Future<SRUScanResponse> scan(SRUScanRequest request)
    222230            throws SRUClientException {
     
    286294     * @throws NullPointerException
    287295     *             if any required argument is <code>null</code>
    288      */
     296     * @deprecated Use asynchronous callback interface
     297     *             {@link #searchRetrieve(SRUSearchRetrieveRequest, SRUCallback)}
     298     *             . This method will be removed in the future.
     299     */
     300    @Deprecated
    289301    public Future<SRUSearchRetrieveResponse> searchRetrieve(
    290302            SRUSearchRetrieveRequest request) throws SRUClientException {
  • SRUClient/trunk/src/test/java/eu/clarin/sru/client/TestThreadedClient.java

    r2467 r2870  
    2525import eu.clarin.sru.client.fcs.ClarinFCSRecordParser;
    2626
     27@Deprecated
    2728public class TestThreadedClient {
    2829    private static final Logger logger =
Note: See TracChangeset for help on using the changeset viewer.