1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-23 03:44:50 +02:00
Smack/smack-core/src/main/java/org/jivesoftware/smack
Florian Schmaus 21c0be5e2a Fixed AbstractXMPPConnection.cachedExecutorService
the combination with concurrencyLevel and LinkedBlockingQueue never
worked as intented. The idea was that the cachedExecutorService would
spawn new threads until maximumPoolSize (=concurrencyLevel) is reached,
and then start queing the Runnables.

But this was not the case, since ThreadPoolExecutor does not take into
consideration if the worker threads is busy, i.e. executing a Runnable,
or idle, i.e. waiting for a Runnable.

This means that if a busy Worker would execute a Runnable, which would
block, because it's waiting for an event (e.g. an incoming IQ
request), then the handling of those incoming IQ request would be
queued by ThreadPoolExecutor, because no fewer threads then corePoolSize
are running and the task can be queued (since the LinkedBlockingQueue is
unbounded).
2015-03-02 15:50:13 +01:00
..
compress/packet Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
compression Cleanup XMPPTCPConnection, mostly exception handling 2015-01-26 07:54:12 +01:00
debugger Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
filter Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
initializer Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
iqrequest Add AbstractXMPPConnection.setReplyToUnkownIq(boolean) 2015-01-26 07:54:11 +01:00
packet Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
parsing Use CharSequence instead of String in parseContent() 2014-07-06 21:10:40 +02:00
provider Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
proxy Create smack.util.stringencoder for Base64, Base32,… 2014-09-04 11:07:55 +02:00
sasl Fix SASL X-OAUTH2: Use Base64.encode() instead of decode() 2015-02-23 08:49:30 +01:00
util Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
AbstractConnectionClosedListener.java Add and use AbstractConnectionClosedListener 2015-01-07 20:11:00 +01:00
AbstractConnectionListener.java Add 'resumed' bool ConnectionListener's authenticated() 2015-01-07 21:11:09 +01:00
AbstractXMPPConnection.java Fixed AbstractXMPPConnection.cachedExecutorService 2015-03-02 15:50:13 +01:00
ConnectionConfiguration.java Rename SecurityMode.enabled to 'ifpossible' 2015-02-13 17:01:09 +01:00
ConnectionCreationListener.java Make XMPPConnection an interface 2014-05-28 08:18:41 +02:00
ConnectionListener.java Remove protected getConnectionListeners() 2015-01-10 11:26:10 +01:00
ExceptionCallback.java Add an API to send and wait async for a response 2014-08-16 00:08:53 +02:00
Manager.java Add StringUtils.requireNotNullOrEmpty and Objects.requireNonNull 2015-01-26 20:47:09 +01:00
MessageListener.java Improve MUC message and presence listeners 2014-10-12 18:11:02 +02:00
package.html Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
PacketCollector.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
PacketListener.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
PresenceListener.java Improve MUC message and presence listeners 2014-10-12 18:11:02 +02:00
ReconnectionManager.java Improve handling of InterruptedException 2015-01-16 17:31:10 +01:00
SASLAuthentication.java Add filter information to NoResponseException 2015-02-19 12:14:16 +01:00
SmackConfiguration.java Rename SmackConfiguration.DEBUG_ENABLED to DEBUG 2015-01-19 08:26:42 +01:00
SmackException.java Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
SmackInitialization.java Create smack-im subproject for XMPP-IM 2015-01-26 07:54:05 +01:00
StanzaListener.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
SynchronizationPoint.java Add filter information to NoResponseException 2015-02-19 12:14:16 +01:00
XMPPConnection.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
XMPPConnectionRegistry.java Make XMPPConnection an interface 2014-05-28 08:18:41 +02:00
XMPPException.java Improve message of StreamErrorException 2015-03-02 15:50:12 +01:00