public class AsynchronousProducerCreditsImpl extends AbstractProducerCreditsImpl
address, arriving, blocked, closed, pendingCredits, serverRespondedWithFail, sessionContext
Constructor and Description |
---|
AsynchronousProducerCreditsImpl(ClientSessionInternal session,
SimpleString address,
int windowSize,
ClientProducerFlowCallback callback) |
Modifier and Type | Method and Description |
---|---|
protected void |
actualAcquire(int credits) |
int |
getBalance() |
void |
receiveCredits(int credits) |
void |
receiveFailCredits(int credits) |
void |
releaseOutstanding() |
acquireCredits, afterAcquired, checkCredits, close, decrementRefCount, getAddress, incrementRefCount, init, isBlocked, reset
public AsynchronousProducerCreditsImpl(ClientSessionInternal session, SimpleString address, int windowSize, ClientProducerFlowCallback callback)
protected void actualAcquire(int credits)
actualAcquire
in class AbstractProducerCreditsImpl
public int getBalance()
getBalance
in class AbstractProducerCreditsImpl
public void receiveCredits(int credits)
receiveCredits
in interface ClientProducerCredits
receiveCredits
in class AbstractProducerCreditsImpl
public void receiveFailCredits(int credits)
receiveFailCredits
in interface ClientProducerCredits
receiveFailCredits
in class AbstractProducerCreditsImpl
public void releaseOutstanding()
Copyright © 2021 JBoss by Red Hat. All rights reserved.