Interface OracleCloudObjectStorageConnector
- All Superinterfaces:
AutoCloseable
,BlobStoreConnector
- All Known Implementing Classes:
OracleCloudObjectStorageConnector.Default
public interface OracleCloudObjectStorageConnector extends BlobStoreConnector
Connector for the Oracle cloud object storage.
First create a Oracle storage client.
ObjectStorageClient client = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( OracleCloudObjectStorageConnector.New(client) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OracleCloudObjectStorageConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static OracleCloudObjectStorageConnector
Caching(com.oracle.bmc.objectstorage.ObjectStorageClient client)
Pseude-constructor method which creates a newOracleCloudObjectStorageConnector
with cache.static OracleCloudObjectStorageConnector
New(com.oracle.bmc.objectstorage.ObjectStorageClient client)
Pseude-constructor method which creates a newOracleCloudObjectStorageConnector
.Methods inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
static OracleCloudObjectStorageConnector New(com.oracle.bmc.objectstorage.ObjectStorageClient client)Pseude-constructor method which creates a newOracleCloudObjectStorageConnector
.- Parameters:
client
- connection to the Oracle cloud object storage- Returns:
- a new
OracleCloudObjectStorageConnector
-
Caching
static OracleCloudObjectStorageConnector Caching(com.oracle.bmc.objectstorage.ObjectStorageClient client)Pseude-constructor method which creates a newOracleCloudObjectStorageConnector
with cache.- Parameters:
client
- connection to the Oracle cloud object storage- Returns:
- a new
OracleCloudObjectStorageConnector
-