public interface ClientProducerCreditManager
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
creditsMapSize() |
ClientProducerCredits |
getCredits(SimpleString address,
boolean anon,
SessionContext context) |
void |
receiveCredits(SimpleString address,
int credits) |
void |
receiveFailCredits(SimpleString address,
int credits) |
void |
reset() |
void |
returnCredits(SimpleString address) |
void |
setCallback(ClientProducerFlowCallback callback)
This will determine the flow control as asynchronous,
no actual block should happen instead a callback will be sent whenever blockages change
|
int |
unReferencedCreditsSize() |
ClientProducerCredits getCredits(SimpleString address, boolean anon, SessionContext context)
void returnCredits(SimpleString address)
void receiveCredits(SimpleString address, int credits)
void receiveFailCredits(SimpleString address, int credits)
void reset()
void close()
int creditsMapSize()
int unReferencedCreditsSize()
void setCallback(ClientProducerFlowCallback callback)
Copyright © 2019 JBoss by Red Hat. All rights reserved.