edu.virginia.lib.ole.akubra
Class TwoStoreConnection

java.lang.Object
  extended by org.akubraproject.impl.AbstractBlobStoreConnection
      extended by edu.virginia.lib.ole.akubra.TwoStoreConnection
All Implemented Interfaces:
org.akubraproject.BlobStoreConnection

public class TwoStoreConnection
extends org.akubraproject.impl.AbstractBlobStoreConnection

Version:
1.0
Author:
ajs6f

Field Summary
 
Fields inherited from class org.akubraproject.impl.AbstractBlobStoreConnection
closed, owner, streamManager
 
Constructor Summary
TwoStoreConnection(org.akubraproject.BlobStore owner, Map<String,String> hints)
           
TwoStoreConnection(org.akubraproject.BlobStore owner, org.akubraproject.impl.StreamManager streamManager)
           
 
Method Summary
 void close()
           
 org.akubraproject.Blob getBlob(URI blobId, Map<String,String> hints)
           
 Iterator<URI> listBlobIds(String filterPrefix)
           
 void sync()
           
 
Methods inherited from class org.akubraproject.impl.AbstractBlobStoreConnection
ensureOpen, getBlob, getBlobStore, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoStoreConnection

public TwoStoreConnection(org.akubraproject.BlobStore owner,
                          Map<String,String> hints)
                   throws UnsupportedOperationException,
                          IOException
Parameters:
owner - BlobStore to which this connection belongs
hints - Map of hints for this connection which will be passed on to each side
Throws:
IOException
UnsupportedOperationException

TwoStoreConnection

public TwoStoreConnection(org.akubraproject.BlobStore owner,
                          org.akubraproject.impl.StreamManager streamManager)
                   throws UnsupportedOperationException,
                          IOException
Parameters:
owner - BlobStore to which this connection belongs
streamManager -
Throws:
IOException
UnsupportedOperationException
Method Detail

getBlob

public org.akubraproject.Blob getBlob(URI blobId,
                                      Map<String,String> hints)
                               throws IOException,
                                      org.akubraproject.UnsupportedIdException,
                                      UnsupportedOperationException
Throws:
IOException
org.akubraproject.UnsupportedIdException
UnsupportedOperationException
See Also:
BlobStoreConnection.getBlob(java.net.URI, java.util.Map)

listBlobIds

public Iterator<URI> listBlobIds(String filterPrefix)
                          throws IOException
Throws:
IOException
See Also:
BlobStoreConnection.listBlobIds(java.lang.String)

sync

public void sync()
          throws IOException,
                 UnsupportedOperationException
Throws:
IOException
UnsupportedOperationException
See Also:
BlobStoreConnection.sync()

close

public void close()
Specified by:
close in interface org.akubraproject.BlobStoreConnection
Overrides:
close in class org.akubraproject.impl.AbstractBlobStoreConnection


Copyright © 2011 the University of Virginia Library :: OLE. All Rights Reserved.