Package one.microstream.afs.blobstore
Class BlobStoreConnector.Abstract<B>
java.lang.Object
one.microstream.afs.blobstore.BlobStoreConnector.Abstract<B>
- Type Parameters:
B
- the blob type
- All Implemented Interfaces:
AutoCloseable
,BlobStoreConnector
- Direct Known Subclasses:
AzureStorageConnector.Default
,CoherenceConnector.Default
,DynamoDbConnector.Default
,HazelcastConnector.Default
,KafkaConnector.Default
,MongoDbConnector.Default
,MongoDbConnector.GridFs
,OracleCloudObjectStorageConnector.Default
,OracleNoSqlConnector.Default
,RedisConnector.Default
,S3Connector.Default
- Enclosing interface:
- BlobStoreConnector
public abstract static class BlobStoreConnector.Abstract<B> extends Object implements BlobStoreConnector
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Constructor Summary
Constructors Constructor Description Abstract()
-
Method Summary
Modifier and Type Method Description void
close()
long
copyFile(BlobStorePath sourceFile, BlobStorePath targetFile, long offset, long length)
boolean
createDirectory(BlobStorePath directory)
boolean
createFile(BlobStorePath file)
boolean
deleteFile(BlobStorePath file)
boolean
directoryExists(BlobStorePath directory)
boolean
fileExists(BlobStorePath file)
long
fileSize(BlobStorePath file)
void
moveFile(BlobStorePath sourceFile, BlobStorePath targetFile)
ByteBuffer
readData(BlobStorePath file, long offset, long length)
long
readData(BlobStorePath file, ByteBuffer targetBuffer, long offset, long length)
void
truncateFile(BlobStorePath file, long newLength)
void
visitChildren(BlobStorePath directory, BlobStorePathVisitor visitor)
long
writeData(BlobStorePath file, Iterable<? extends ByteBuffer> sourceBuffers)
-
Constructor Details
-
Abstract
public Abstract()
-
-
Method Details
-
fileSize
- Specified by:
fileSize
in interfaceBlobStoreConnector
-
directoryExists
- Specified by:
directoryExists
in interfaceBlobStoreConnector
-
fileExists
- Specified by:
fileExists
in interfaceBlobStoreConnector
-
visitChildren
- Specified by:
visitChildren
in interfaceBlobStoreConnector
-
createDirectory
- Specified by:
createDirectory
in interfaceBlobStoreConnector
-
createFile
- Specified by:
createFile
in interfaceBlobStoreConnector
-
deleteFile
- Specified by:
deleteFile
in interfaceBlobStoreConnector
-
readData
- Specified by:
readData
in interfaceBlobStoreConnector
-
readData
- Specified by:
readData
in interfaceBlobStoreConnector
-
writeData
- Specified by:
writeData
in interfaceBlobStoreConnector
-
moveFile
- Specified by:
moveFile
in interfaceBlobStoreConnector
-
copyFile
public final long copyFile(BlobStorePath sourceFile, BlobStorePath targetFile, long offset, long length)- Specified by:
copyFile
in interfaceBlobStoreConnector
-
truncateFile
- Specified by:
truncateFile
in interfaceBlobStoreConnector
-
close
public final void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBlobStoreConnector
-