edu.virginia.lib.ole.akubra
Class TwoStoreConnection
java.lang.Object
org.akubraproject.impl.AbstractBlobStoreConnection
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
Fields inherited from class org.akubraproject.impl.AbstractBlobStoreConnection |
closed, owner, streamManager |
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 |
TwoStoreConnection
public TwoStoreConnection(org.akubraproject.BlobStore owner,
Map<String,String> hints)
throws UnsupportedOperationException,
IOException
- Parameters:
owner
- BlobStore
to which this connection belongshints
- 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 belongsstreamManager
-
- Throws:
IOException
UnsupportedOperationException
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.