/[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.6 by tjl, Mon Jan 13 06:48:50 2003 UTC revision 1.7 by tjl, Sat Jan 18 20:24:26 2003 UTC
# Line 57  public interface MemoryConsumer { Line 57  public interface MemoryConsumer {
57       * is called, is the new one.       * is called, is the new one.
58       * <p>       * <p>
59       * <b>This method may only be called by {@link MemoryPartitioner}.</b>       * <b>This method may only be called by {@link MemoryPartitioner}.</b>
60         * @param priority The priority to use for scheduling
61         *                  this operation.
62       * @param bytes The maximum amount of bytes this object should reserve.       * @param bytes The maximum amount of bytes this object should reserve.
63       * @param quality Maximum quality that should be loaded (if quality is       * @param quality Maximum quality that should be loaded (if quality is
64       *          adjusted in discrete steps, the class may round upwards).       *          adjusted in discrete steps, the class may round upwards).
# Line 65  public interface MemoryConsumer { Line 67  public interface MemoryConsumer {
67       *          sizes come in certain increments, less memory will be used       *          sizes come in certain increments, less memory will be used
68       *          than needed..       *          than needed..
69       */       */
70      int setReservation(int bytes, float quality, Obs o);      int setReservation(float priority,
71                            int bytes, float quality, Obs o);
72      /** Get the number of bytes currently used.      /** Get the number of bytes currently used.
73       */       */
74      int getReservation();      int getReservation();

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

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