/[storm]/storm/org/nongnu/storm/StormPool.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/StormPool.java

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

revision 1.2 by benja, Thu Apr 3 19:07:54 2003 UTC revision 1.3 by benja, Mon Apr 7 19:35:59 2003 UTC
# Line 27  StormPool.java Line 27  StormPool.java
27   */   */
28  package org.nongnu.storm;  package org.nongnu.storm;
29    
 import org.nongnu.storm.headers.*;  
30  import java.io.*;  import java.io.*;
31  import java.util.*;  import java.util.*;
32    
33  /** A Storm Storm pool of blocks.  /** A Storm pool of blocks.
34   */   */
35  public interface StormPool {  public interface StormPool {
36    
# Line 149  public interface StormPool { Line 148  public interface StormPool {
148      // CREATING NEW BLOCKS      // CREATING NEW BLOCKS
149    
150      /** Get an <code>OutputStream</code> for adding a new block to this pool.      /** Get an <code>OutputStream</code> for adding a new block to this pool.
      *  A new <code>UniqueHeader822</code> with the specified MIME content type  
      *  is used.  
151       *  @see BlockOutputStream       *  @see BlockOutputStream
152       */       */
153      BlockOutputStream getBlockOutputStream(String contentType)      BlockOutputStream getBlockOutputStream(String contentType);
                                                           throws IOException;  
   
     /** Get an <code>OutputStream</code> for adding a new block to this pool.  
      *  The header for the new block is passed explicitly.  
      *  @see BlockOutputStream  
      */  
     BlockOutputStream getBlockOutputStream(Header822 hdr) throws IOException;  
   
   
     // GETTING POOL NAMES  
   
     /** This is currently not implemented and probably requires more thought.  
      *  When the time comes to replace Mediaserver with Storm, we'll see  
      *  how to implement the things currently done through pool names;  
      *  these functions might be resurrected, replaced by something else,  
      *  or simply gotten rid of if they are not (at that time) needed.  
      *  - Benja  
      */  
   
     ///** Get the name of the pool new blocks are put into by default.  
     // */  
     //String getDefaultPoolName() throws IOException;  
     //Set getPoolNames() throws IOException;  
154  }  }

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

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