Changeset 226bee6


Ignore:
Timestamp:
Jun 9, 2015 3:44:34 AM (5 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
e067761
Parents:
1a40e574
Message:

Added more variants of isUpdateInProgress to UpdateManager?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/update/UpdateManager.java

    r1a40e574 r226bee6  
    147147   
    148148    /**
    149      *  Is any download in progress?
    150      *  Does not include checks.
     149     *  Is a router update being downloaded?
     150     *  @return true iff router update is being downloaded
     151     *  @since 0.9.21
    151152     */
    152153    public boolean isUpdateInProgress();
    153154   
     155    /**
     156     *  Is a router update being downloaded?
     157     *  @param type the UpdateType of this request
     158     *  @return true iff router update is being downloaded
     159     *  @since 0.9.21
     160     */
     161    public boolean isUpdateInProgress(UpdateType type);
     162   
     163    /**
     164     *  Is a router update being downloaded?
     165     *  @param type the UpdateType of this request
     166     *  @param id of this request
     167     *  @return true iff router update is being downloaded
     168     *  @since 0.9.21
     169     */
     170    public boolean isUpdateInProgress(UpdateType type, String id);
    154171    /**
    155172     *  Non-blocking. Does not check.
Note: See TracChangeset for help on using the changeset viewer.