Class DirectoryBlobQueueNode<T>
java.lang.Object
io.datarouter.storage.node.BaseNode<io.datarouter.model.key.EmptyDatabeanKey,io.datarouter.model.databean.EmptyDatabean,io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder>
io.datarouter.storage.node.type.physical.base.BasePhysicalNode<io.datarouter.model.key.EmptyDatabeanKey,io.datarouter.model.databean.EmptyDatabean,io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder>
io.datarouter.filesystem.node.queue.DirectoryBlobQueueNode<T>
- All Implemented Interfaces:
io.datarouter.storage.node.Node<io.datarouter.model.key.EmptyDatabeanKey,,io.datarouter.model.databean.EmptyDatabean, io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder> io.datarouter.storage.node.op.raw.BlobQueueStorage<T>,io.datarouter.storage.node.op.raw.BlobQueueStorage.BlobQueueStorageNode<T>,io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode<T>,io.datarouter.storage.node.type.physical.PhysicalNode<io.datarouter.model.key.EmptyDatabeanKey,,io.datarouter.model.databean.EmptyDatabean, io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder> Comparable<io.datarouter.storage.node.Node<io.datarouter.model.key.EmptyDatabeanKey,io.datarouter.model.databean.EmptyDatabean, io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder>>
public class DirectoryBlobQueueNode<T>
extends io.datarouter.storage.node.type.physical.base.BasePhysicalNode<io.datarouter.model.key.EmptyDatabeanKey,io.datarouter.model.databean.EmptyDatabean,io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder>
implements io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.BlobQueueStorage
io.datarouter.storage.node.op.raw.BlobQueueStorage.BlobQueueStorageNode<T>, io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode<T> -
Field Summary
Fields inherited from interface io.datarouter.storage.node.op.raw.BlobQueueStorage
OP_ack, OP_getMaxDataSize, OP_peek, OP_poll, OP_put -
Constructor Summary
ConstructorsConstructorDescriptionDirectoryBlobQueueNode(DirectoryQueue directoryQueue, io.datarouter.storage.node.NodeParams<io.datarouter.model.key.EmptyDatabeanKey, io.datarouter.model.databean.EmptyDatabean, io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder> params, io.datarouter.bytes.Codec<T, byte[]> codec) -
Method Summary
Methods inherited from class io.datarouter.storage.node.type.physical.base.BasePhysicalNode
getChildNodes, getClientId, getClientIds, getClientType, getFieldInfo, getName, getPhysicalNodes, getPhysicalNodesForClient, toString, usesClientMethods inherited from class io.datarouter.storage.node.BaseNode
compareToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.datarouter.storage.node.op.raw.BlobQueueStorage
ack, ack, ack, combineAndPut, combineAndPut, peek, poll, poll, put, put, putMulti, putMulti, putMulti, putMulti, putRaw, willFitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface io.datarouter.storage.node.Node
getChildNodes, getClientIds, getName, getPhysicalNodes, getPhysicalNodesForClient, usesClientMethods inherited from interface io.datarouter.storage.node.type.physical.PhysicalNode
clientAndTableNames, getClientId, getClientType, getFieldInfo
-
Constructor Details
-
DirectoryBlobQueueNode
public DirectoryBlobQueueNode(DirectoryQueue directoryQueue, io.datarouter.storage.node.NodeParams<io.datarouter.model.key.EmptyDatabeanKey, io.datarouter.model.databean.EmptyDatabean, io.datarouter.model.databean.EmptyDatabean.EmptyDatabeanFielder> params, io.datarouter.bytes.Codec<T, byte[]> codec)
-
-
Method Details
-
getMaxRawDataSize
public int getMaxRawDataSize()- Specified by:
getMaxRawDataSizein interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage<T>
-
getCodec
- Specified by:
getCodecin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage<T>
-
putRaw
public void putRaw(byte[] data, io.datarouter.storage.config.Config config) - Specified by:
putRawin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage<T>
-
peek
public Optional<io.datarouter.storage.queue.BlobQueueMessage<T>> peek(io.datarouter.storage.config.Config config) - Specified by:
peekin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage<T>
-
ack
public void ack(byte[] handle, io.datarouter.storage.config.Config config) - Specified by:
ackin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage<T>
-