Retrieves the current amount of credit.
For a receiver link, the value returned will still include the credits that will be used by any queued incoming messages, use {@link #getQueued()} to assess the number of credits that will be used by queued messages.
@return the number of credits
See Implementation
Retrieves the current amount of credit.
For a receiver link, the value returned will still include the credits that will be used by any queued incoming messages, use {@link #getQueued()} to assess the number of credits that will be used by queued messages.
@return the number of credits