Record Class QueueConsumerProfile
java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.QueueConsumerProfile
- Record Components:
source- authenticated routed queue supporting native pushdeduplication- D12 guard backend; required for EXTERNAL_GUARDcodec- explicitly schema-allowlisted thread-safe payload codectenant- stable authorized source tenantnamespace- stable logical handler namespace, independent of deployment artifactgroup- finite host consumer groupmember- stable host member identity, not an application-supplied claimqueues- finite destination allowlist, at most256visibility- positive receipt lease, 1second..1day and greater than3operationBudgetsoperationBudget- finite source command budget, 1millisecond..25secondshandlerBudget- original application budget, 1millisecond..1dayretention- D12 guard retention, 1millisecond..1daystrategy- explicit durable effect protocol
public record QueueConsumerProfile(org.j7m.middleware.distributed.ReplicatedQueue source, org.j7m.middleware.distributed.DeduplicatedRpc deduplication, ManagedPayloadCodec codec, String tenant, String namespace, String group, String member, Set<String> queues, Duration visibility, Duration operationBudget, Duration handlerBudget, Duration retention, QueueConsumerProfile.Strategy strategy)
extends Record
Explicit authorized queue worker configuration. An annotation cannot select credentials,
endpoint classes or a new authority. Members must be unique among simultaneous host workers
and stable on restart to resume their exact pending receipt. Native FIFO permits one live
delivery per queue; parallelism is across queues. Borrowed endpoints/codecs remain host-owned.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumChooses the actual effect protocol; it is trusted host configuration, not metadata authority. -
Constructor Summary
ConstructorsConstructorDescriptionQueueConsumerProfile(org.j7m.middleware.distributed.ReplicatedQueue source, org.j7m.middleware.distributed.DeduplicatedRpc deduplication, ManagedPayloadCodec codec, String tenant, String namespace, String group, String member, Set<String> queues, Duration visibility, Duration operationBudget, Duration handlerBudget, Duration retention, QueueConsumerProfile.Strategy strategy) Validates and copies bounds without accessing the backend. -
Method Summary
Modifier and TypeMethodDescriptioncodec()Returns the value of thecodecrecord component.org.j7m.middleware.distributed.DeduplicatedRpcReturns the value of thededuplicationrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.Returns the value of thehandlerBudgetrecord component.final inthashCode()Returns a hash code value for this object.member()Returns the value of thememberrecord component.Returns the value of thenamespacerecord component.Returns the value of theoperationBudgetrecord component.queues()Returns the value of thequeuesrecord component.Returns the value of theretentionrecord component.org.j7m.middleware.distributed.ReplicatedQueuesource()Returns the value of thesourcerecord component.strategy()Returns the value of thestrategyrecord component.tenant()Returns the value of thetenantrecord component.toString()Omits endpoint and tenant credentials from diagnostics.Returns the value of thevisibilityrecord component.
-
Constructor Details
-
QueueConsumerProfile
public QueueConsumerProfile(org.j7m.middleware.distributed.ReplicatedQueue source, org.j7m.middleware.distributed.DeduplicatedRpc deduplication, ManagedPayloadCodec codec, String tenant, String namespace, String group, String member, Set<String> queues, Duration visibility, Duration operationBudget, Duration handlerBudget, Duration retention, QueueConsumerProfile.Strategy strategy) Validates and copies bounds without accessing the backend.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
source
-
deduplication
public org.j7m.middleware.distributed.DeduplicatedRpc deduplication()Returns the value of thededuplicationrecord component.- Returns:
- the value of the
deduplicationrecord component
-
codec
-
tenant
-
namespace
-
group
-
member
-
queues
-
visibility
Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-
operationBudget
Returns the value of theoperationBudgetrecord component.- Returns:
- the value of the
operationBudgetrecord component
-
handlerBudget
Returns the value of thehandlerBudgetrecord component.- Returns:
- the value of the
handlerBudgetrecord component
-
retention
-
strategy
-