org.wso2.registry.jdbc.filecache
Class FileManager
java.lang.Object
org.wso2.registry.jdbc.filecache.FileManager
public class FileManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static FileManager getInstance()
init
public void init()
getFileBasedInputStream
public java.io.InputStream getFileBasedInputStream(java.lang.String contentID)
throws RegistryException
- Throws:
RegistryException
lockFileBasedContent
public boolean lockFileBasedContent(java.lang.String contentID)
createFileBasedContent
public void createFileBasedContent(java.lang.String contentID,
java.io.InputStream inputStream)
throws RegistryException
- Throws:
RegistryException
createFileBasedInputStream
public java.io.InputStream createFileBasedInputStream(java.lang.String contentID,
java.io.InputStream inputStream)
throws RegistryException
- Throws:
RegistryException
getContentLength
public long getContentLength(java.lang.String contentID)
onStreamClosed
public void onStreamClosed(java.lang.String contentID)
cleanupFiles
public void cleanupFiles()
deleteFileBasedContent
public void deleteFileBasedContent(java.lang.String contentID)
decrementActiveUsage
public void decrementActiveUsage(java.lang.String contentID)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.