org.deegree.services.wps.storage
Class StorageManager

java.lang.Object
  extended by org.deegree.services.wps.storage.StorageManager

public class StorageManager
extends Object

Provides storage locations for process response documents and outputs (and sinks for complex inputs).

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $
See Also:
ExecutionManager

Constructor Summary
StorageManager(File baseDir, int inputDiskSwitchLimit)
          Creates a new StorageManager instance.
 
Method Summary
 OutputStorage lookupOutputStorage(String outputId)
           
 ResponseDocumentStorage lookupResponseDocumentStorage(String responseId, String getUrl)
           
 StreamBufferStore newInputSink()
           
 OutputStorage newOutputStorage(String mimeType)
           
 ResponseDocumentStorage newResponseDocumentStorage(String getUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageManager

public StorageManager(File baseDir,
                      int inputDiskSwitchLimit)
Creates a new StorageManager instance.

Parameters:
baseDir - base directory where the resources are stored on the filesystem
inputDiskSwitchLimit - number of bytes allowed for each embedded complex input in memory
Method Detail

newOutputStorage

public OutputStorage newOutputStorage(String mimeType)
                               throws IOException
Throws:
IOException

newResponseDocumentStorage

public ResponseDocumentStorage newResponseDocumentStorage(String getUrl)

lookupOutputStorage

public OutputStorage lookupOutputStorage(String outputId)

newInputSink

public StreamBufferStore newInputSink()

lookupResponseDocumentStorage

public ResponseDocumentStorage lookupResponseDocumentStorage(String responseId,
                                                             String getUrl)


Copyright © 2011. All Rights Reserved.