Package org.apache.qpid.protonj2.engine
Interface LinkCreditState
-
- All Known Implementing Classes:
ProtonLinkCreditState
public interface LinkCreditState
State object holding information about the current link credit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCredit()
The currently available credit for this linkint
getDeliveryCount()
The current delivery count value for this linkboolean
isDrain()
boolean
isEcho()
-
-
-
Method Detail
-
getCredit
int getCredit()
The currently available credit for this link- Returns:
- the current amount of link credit
-
getDeliveryCount
int getDeliveryCount()
The current delivery count value for this link- Returns:
- the current delivery count value for the link.
-
isDrain
boolean isDrain()
- Returns:
- true if the link drain is active.
-
isEcho
boolean isEcho()
- Returns:
- true if the link has been requested to echo its state.
-
-