Package one.microstream.afs.redis.types
Class RedisConnector.Default
java.lang.Object
one.microstream.afs.blobstore.types.BlobStoreConnector.Abstract<BlobMetadata>
one.microstream.afs.redis.types.RedisConnector.Default
- All Implemented Interfaces:
AutoCloseable
,BlobStoreConnector
,RedisConnector
- Enclosing interface:
- RedisConnector
public static class RedisConnector.Default extends BlobStoreConnector.Abstract<BlobMetadata> implements RedisConnector
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.types.BlobStoreConnector
BlobStoreConnector.Abstract<B>
Nested classes/interfaces inherited from interface one.microstream.afs.redis.types.RedisConnector
RedisConnector.Default
-
Field Summary
Fields inherited from class one.microstream.afs.blobstore.types.BlobStoreConnector.Abstract
NUMBER_SUFFIX_REGEX, NUMBER_SUFFIX_SEPARATOR, NUMBER_SUFFIX_SEPARATOR_CHAR
-
Method Summary
Modifier and Type Method Description protected Stream<BlobMetadata>
blobs(BlobStorePath file)
protected Stream<String>
childKeys(BlobStorePath directory)
protected void
internalClose()
protected boolean
internalDeleteBlobs(BlobStorePath file, List<? extends BlobMetadata> blobs)
protected void
internalReadBlobData(BlobStorePath file, BlobMetadata blob, ByteBuffer targetBuffer, long offset, long length)
protected long
internalWriteData(BlobStorePath file, Iterable<? extends ByteBuffer> sourceBuffers)
Methods inherited from class one.microstream.afs.blobstore.types.BlobStoreConnector.Abstract
blobComparator, blobKeyRegex, blobNumber, childKeysRegex, childKeysRegexWithContainer, close, copyFile, createDirectory, createFile, deleteFile, directoryExists, directoryNameOfKey, ensureOpen, fileExists, fileNameOfKey, fileSize, internalCopyFile, internalCreateDirectory, internalCreateFile, internalDeleteFile, internalDirectoryExists, internalFileExists, internalFileSize, internalIsEmpty, internalMoveFile, internalReadData, internalReadData, internalReadData, internalTruncateFile, internalVisitChildren, isBlobKey, isDirectoryKey, isEmpty, moveFile, nextBlobNumber, readData, readData, removeNumberSuffix, toBlobKey, toBlobKeyPrefix, toBlobKeyPrefixWithContainer, toBlobKeyWithContainer, toChildKeysPrefix, toChildKeysPrefixWithContainer, toContainerKey, totalSize, truncateFile, visitChildren, writeData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.afs.blobstore.types.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, isEmpty, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
blobs
- Specified by:
blobs
in classBlobStoreConnector.Abstract<BlobMetadata>
-
childKeys
- Specified by:
childKeys
in classBlobStoreConnector.Abstract<BlobMetadata>
-
internalReadBlobData
protected void internalReadBlobData(BlobStorePath file, BlobMetadata blob, ByteBuffer targetBuffer, long offset, long length)- Specified by:
internalReadBlobData
in classBlobStoreConnector.Abstract<BlobMetadata>
-
internalDeleteBlobs
- Specified by:
internalDeleteBlobs
in classBlobStoreConnector.Abstract<BlobMetadata>
-
internalWriteData
- Specified by:
internalWriteData
in classBlobStoreConnector.Abstract<BlobMetadata>
-
internalClose
protected void internalClose()- Overrides:
internalClose
in classBlobStoreConnector.Abstract<BlobMetadata>
-