org.apache.jackrabbit.core.persistence.pool
Class BundleDbPersistenceManager.FSBlobStore

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.util.FileSystemBLOBStore
      extended by org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.FSBlobStore
All Implemented Interfaces:
BundleDbPersistenceManager.CloseableBLOBStore, BLOBStore, ResourceBasedBLOBStore
Enclosing class:
BundleDbPersistenceManager

protected class BundleDbPersistenceManager.FSBlobStore
extends FileSystemBLOBStore
implements BundleDbPersistenceManager.CloseableBLOBStore

own implementation of the filesystem blob store that uses a different blob-id scheme.


Constructor Summary
BundleDbPersistenceManager.FSBlobStore(FileSystem fs)
           
 
Method Summary
 void close()
           
 String createId(PropertyId id, int index)
          Creates a unique identifier for the BLOB data associated with the given property id and value subscript.
 
Methods inherited from class org.apache.jackrabbit.core.persistence.util.FileSystemBLOBStore
get, getResource, put, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.core.persistence.util.BLOBStore
get, put, remove
 

Constructor Detail

BundleDbPersistenceManager.FSBlobStore

public BundleDbPersistenceManager.FSBlobStore(FileSystem fs)
Method Detail

createId

public String createId(PropertyId id,
                       int index)
Description copied from class: FileSystemBLOBStore
Creates a unique identifier for the BLOB data associated with the given property id and value subscript.

Specified by:
createId in interface BLOBStore
Overrides:
createId in class FileSystemBLOBStore
Parameters:
id - id of the property associated with the BLOB data
index - subscript of the value holding the BLOB data
Returns:
a string identifying the BLOB data

close

public void close()
Specified by:
close in interface BundleDbPersistenceManager.CloseableBLOBStore


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.