Package io.datarouter.aws.sqs.blob
Class SqsBlobNode
java.lang.Object
io.datarouter.storage.node.BaseNode<PK,D,F>
io.datarouter.storage.node.type.physical.base.BasePhysicalNode<io.datarouter.storage.queue.BlobQueueMessageKey,io.datarouter.storage.queue.BlobQueueMessage,io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder>
io.datarouter.aws.sqs.blob.SqsBlobNode
- All Implemented Interfaces:
io.datarouter.storage.node.Node<io.datarouter.storage.queue.BlobQueueMessageKey,,io.datarouter.storage.queue.BlobQueueMessage, io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder> io.datarouter.storage.node.op.raw.BlobQueueStorage,io.datarouter.storage.node.op.raw.BlobQueueStorage.BlobQueueStorageNode,io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode,io.datarouter.storage.node.type.physical.PhysicalNode<io.datarouter.storage.queue.BlobQueueMessageKey,,io.datarouter.storage.queue.BlobQueueMessage, io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder> Comparable<io.datarouter.storage.node.Node<io.datarouter.storage.queue.BlobQueueMessageKey,io.datarouter.storage.queue.BlobQueueMessage, io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder>>
public class SqsBlobNode
extends io.datarouter.storage.node.type.physical.base.BasePhysicalNode<io.datarouter.storage.queue.BlobQueueMessageKey,io.datarouter.storage.queue.BlobQueueMessage,io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder>
implements io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.BlobQueueStorage
io.datarouter.storage.node.op.raw.BlobQueueStorage.BlobQueueStorageNode, io.datarouter.storage.node.op.raw.BlobQueueStorage.PhysicalBlobQueueStorageNode -
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
ConstructorsConstructorDescriptionSqsBlobNode(io.datarouter.storage.node.NodeParams<io.datarouter.storage.queue.BlobQueueMessageKey, io.datarouter.storage.queue.BlobQueueMessage, io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder> params, io.datarouter.storage.client.ClientType<?, ?> clientType, SqsClientManager sqsClientManager, io.datarouter.storage.config.properties.EnvironmentName environmentName, io.datarouter.storage.config.properties.ServiceName serviceName) -
Method Summary
Modifier and TypeMethodDescriptionvoidack(byte[] handle, io.datarouter.storage.config.Config config) buildQueueName(String environmentName, String serviceName) intOptional<io.datarouter.storage.queue.BlobQueueMessageDto>peek(io.datarouter.storage.config.Config config) voidput(byte[] data, io.datarouter.storage.config.Config config) 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, peek, poll, poll, putMethods 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
getClientId, getClientType, getFieldInfo
-
Constructor Details
-
SqsBlobNode
public SqsBlobNode(io.datarouter.storage.node.NodeParams<io.datarouter.storage.queue.BlobQueueMessageKey, io.datarouter.storage.queue.BlobQueueMessage, io.datarouter.storage.queue.BlobQueueMessage.BlobQueueMessageFielder> params, io.datarouter.storage.client.ClientType<?, ?> clientType, SqsClientManager sqsClientManager, io.datarouter.storage.config.properties.EnvironmentName environmentName, io.datarouter.storage.config.properties.ServiceName serviceName)
-
-
Method Details
-
buildQueueName
-
getQueueUrlAndName
-
getMaxDataSize
public int getMaxDataSize()- Specified by:
getMaxDataSizein interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage
-
put
public void put(byte[] data, io.datarouter.storage.config.Config config) - Specified by:
putin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage
-
peek
public Optional<io.datarouter.storage.queue.BlobQueueMessageDto> peek(io.datarouter.storage.config.Config config) - Specified by:
peekin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage
-
ack
public void ack(byte[] handle, io.datarouter.storage.config.Config config) - Specified by:
ackin interfaceio.datarouter.storage.node.op.raw.BlobQueueStorage
-