Uses of Class
org.jgroups.util.Credit
-
Packages that use Credit Package Description org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of Credit in org.jgroups.protocols
Fields in org.jgroups.protocols with type parameters of type Credit Modifier and Type Field Description protected java.util.Map<Address,Credit>
FlowControl. received
Keeps track of credits per member at the receiver.protected java.util.Map<Address,? extends Credit>
UFC. sent
Map: keys are members, values are credits left.Methods in org.jgroups.protocols with type parameters of type Credit Modifier and Type Method Description protected <T extends Credit>
TUFC_NB. createCredit(int initial_credits)
protected <T extends Credit>
TUFC. createCredit(int initial_credits)
Method parameters in org.jgroups.protocols with type arguments of type Credit Modifier and Type Method Description protected long
FlowControl. adjustCredit(java.util.Map<Address,Credit> map, Address sender, int length)
Check whether sender has enough credits left.protected void
FlowControl. handleCreditRequest(java.util.Map<Address,Credit> map, Address sender, long requested_credits)
protected static java.lang.String
FlowControl. printMap(java.util.Map<Address,? extends Credit> m)
-
Uses of Credit in org.jgroups.util
Subclasses of Credit in org.jgroups.util Modifier and Type Class Description class
NonBlockingCredit
Non-blocking credit for a unicast destination.
Instead of blocking when insufficient credits are available for sending a message, this class queues the message and sends it at a later time when enough credits have been received to send it.
JIRA: https://issues.redhat.com/browse/JGRP-2172Methods in org.jgroups.util that return Credit Modifier and Type Method Description Credit
Credit. reset()
Sets this credit to be done and releases all blocked threads.Credit
NonBlockingCredit. reset()
-