Package one.microstream.afs.kafka.types
Class KafkaConnector.Default
java.lang.Object
one.microstream.afs.blobstore.types.BlobStoreConnector.Abstract<Blob>
one.microstream.afs.kafka.types.KafkaConnector.Default
- All Implemented Interfaces:
AutoCloseable
,BlobStoreConnector
,KafkaConnector
- Enclosing interface:
- KafkaConnector
public static class KafkaConnector.Default extends BlobStoreConnector.Abstract<Blob> implements KafkaConnector
-
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.kafka.types.KafkaConnector
KafkaConnector.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<Blob>
blobs(BlobStorePath file)
protected Stream<String>
childKeys(BlobStorePath directory)
protected String
fileNameOfKey(String key)
protected void
internalClose()
protected boolean
internalDeleteBlobs(BlobStorePath file, List<? extends Blob> blobs)
protected boolean
internalDeleteFile(BlobStorePath file)
protected void
internalReadBlobData(BlobStorePath file, Blob 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, fileSize, internalCopyFile, internalCreateDirectory, internalCreateFile, 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<Blob>
-
childKeys
- Specified by:
childKeys
in classBlobStoreConnector.Abstract<Blob>
-
fileNameOfKey
- Overrides:
fileNameOfKey
in classBlobStoreConnector.Abstract<Blob>
-
internalReadBlobData
protected void internalReadBlobData(BlobStorePath file, Blob blob, ByteBuffer targetBuffer, long offset, long length)- Specified by:
internalReadBlobData
in classBlobStoreConnector.Abstract<Blob>
-
internalDeleteFile
- Overrides:
internalDeleteFile
in classBlobStoreConnector.Abstract<Blob>
-
internalDeleteBlobs
- Specified by:
internalDeleteBlobs
in classBlobStoreConnector.Abstract<Blob>
-
internalWriteData
- Specified by:
internalWriteData
in classBlobStoreConnector.Abstract<Blob>
-
internalClose
protected void internalClose()- Overrides:
internalClose
in classBlobStoreConnector.Abstract<Blob>
-