TransferRequest

@Serializable
@SerialName(value = "transferRequest")
class TransferRequest(val requester: ReplicaId, val amount: Long) : BoundedCounterCoordMessage

Sent by a replica whose local quota has dropped below its low-water threshold. Every peer receiving this may independently decide to call us.tractat.kuilt.crdt.BoundedCounter.transfer if it has surplus.

Parameters

requester

the ReplicaId asking for quota.

amount

how many units the requester would like.

Constructors

Link copied to clipboard
constructor(requester: ReplicaId, amount: Long)

Properties

Link copied to clipboard
Link copied to clipboard