/[gzz]/gzz/lava/gzz/storm/Collector.java
ViewVC logotype

Diff of /gzz/lava/gzz/storm/Collector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Sun Dec 22 23:39:27 2002 UTC revision 1.2 by benja, Mon Dec 23 02:28:18 2002 UTC
# Line 4  import java.util.*; Line 4  import java.util.*;
4    
5  /** A <code>Collection</code> representing the results  /** A <code>Collection</code> representing the results
6   *  of a lookup that may be continuing on another thread.   *  of a lookup that may be continuing on another thread.
7   *     *  This is an unmodifiable collection, but until
8     *  the lookup has been finished, additional elements
9     *  may appear in it.
10   */   */
11  public interface Collector extends Collection {  public interface Collector extends Collection {
12            
13      /** Get the number of milliseconds since this request was started.      /** Get the number of milliseconds since this request was started.
14       *  This may be useful in deciding whether to re-lookup the data.       *  This may be useful in deciding whether to re-lookup the data.
15       */       */
16      int getAge();      long getAge();
17    
18        /** Return whether the lookup is completed.
19         *  If true, this <code>Collection</code> is immutable.
20         */
21      boolean isReady();      boolean isReady();
22    
23      /**      /**

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26