Package one.microstream.afs.aws.s3
Interface S3Connector
- All Superinterfaces:
AutoCloseable,BlobStoreConnector
- All Known Implementing Classes:
S3Connector.Default
public interface S3Connector extends BlobStoreConnector
Connector for the Amazon Simple Storage Service (Amazon S3).
First create a connection to the S3 storage.
S3Client client = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( S3Connector.Caching(client) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classS3Connector.DefaultNested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B> -
Method Summary
Static Methods Modifier and Type Method Description static S3ConnectorCaching(software.amazon.awssdk.services.s3.S3Client s3)Pseudo-constructor method which creates a newS3Connectorwith cache.static S3ConnectorNew(software.amazon.awssdk.services.s3.S3Client s3)Pseudo-constructor method which creates a newS3Connector.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
Pseudo-constructor method which creates a newS3Connector.- Parameters:
s3- connection to the S3 storage- Returns:
- a new
S3Connector
-
Caching
Pseudo-constructor method which creates a newS3Connectorwith cache.- Parameters:
s3- connection to the S3 storage- Returns:
- a new
S3Connector
-