/[gzz]/gzz/gzz/mem/MemoryConsumer.java
ViewVC logotype

Diff of /gzz/gzz/mem/MemoryConsumer.java

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

revision 1.5 by benja, Sat Jan 11 18:10:06 2003 UTC revision 1.6 by tjl, Mon Jan 13 06:48:50 2003 UTC
# Line 61  public interface MemoryConsumer { Line 61  public interface MemoryConsumer {
61       * @param quality Maximum quality that should be loaded (if quality is       * @param quality Maximum quality that should be loaded (if quality is
62       *          adjusted in discrete steps, the class may round upwards).       *          adjusted in discrete steps, the class may round upwards).
63       * @param o Observer to call (if non-null) when size has been adjusted       * @param o Observer to call (if non-null) when size has been adjusted
64         * @return The number of bytes this consumer will actually use: e.g. if
65         *          sizes come in certain increments, less memory will be used
66         *          than needed..
67       */       */
68      void setReservation(int bytes, float quality, Obs o);      int setReservation(int bytes, float quality, Obs o);
69      /** Get the number of bytes currently used.      /** Get the number of bytes currently used.
70       */       */
71      int getReservation();      int getReservation();

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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