public final class MessageReceiverCredit
extends java.lang.Object
Constructor and Description |
---|
MessageReceiverCredit() |
Modifier and Type | Method and Description |
---|---|
long |
getClientSequence()
Returns the current client sequence.
|
int |
getCredit()
Returns the credit to fill the prefetch queue
|
long |
getCreditAvailable()
Returns the current credit available from the endpoint's perspective.
|
long |
getEndpointSequence()
Returns the current endpoint sequence.
|
int |
getPrefetch() |
long |
getQueueSize()
Returns the current queue size, received but unprocessed
|
boolean |
isFlowRequired()
Heuristic for sending the flow update.
|
void |
receiveClient()
Receive at the client
|
long |
receiveEndpoint()
Receive at the endpoint
|
void |
setPrefetch(int prefetch) |
void |
updateCredit(int credit) |
public final int getPrefetch()
public final void setPrefetch(int prefetch)
public final long getEndpointSequence()
public final long receiveEndpoint()
public final long getClientSequence()
public final void receiveClient()
public final long getCreditAvailable()
public final long getQueueSize()
public final int getCredit()
public final boolean isFlowRequired()
public final void updateCredit(int credit)