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