23 Commits

Author SHA1 Message Date
Boris Grozev
4a8af3e161 ref: Moves some utility classes to jitsi-java-utils. 2019-03-18 13:57:35 +00:00
Yury Yaroshevich
ee4e8c9452 Eliminate "Stun4J Message Processor" by replacing it with thread pool. (#155)
* Use shared thread pool to execute stun messages decoding and processing. Set minimum required Java version to 1.8.

* Added missing argument comment.

* Added pooling of MessageProcessor objects to avoid extra allocations per RawMessage.

* Made MessageProcessor to be ForkJoinTask<Void> to avoid hidden allocation inside ForkJoinPool.

* Fixed comments according to last changes.

* Added dedicated method to reset state of pooled processor. More comments.

* Fixed comment typo.

* ForkJoinPool by default uses all available processors.

* Rollback JDK 8 changes in pom file since it looks they were only necessary for local build due to misconfigured IDE.

* Avoid usage of Java 8 features (lambda expressions & method references)

* Revert "Rollback JDK 8 changes in pom file since it looks they were only necessary for local build due to misconfigured IDE."

This reverts commit 840f18a554c4910f1af781aa729c58e833b0621f.

* Revert "Avoid usage of Java 8 features (lambda expressions & method references)"

This reverts commit b6ce70ebb40859be8f9249e070b6915feab59200.

* Renamed MessageProcessor into MessageProcessingTask to better reflect changed meaning of class.

* Use ForkJoinPool with prefixed threads to simplify debugging.

* Removed todo.

* Use well-known thread pool instead of ForkJoinPool. Could be easily changed back to ForkJoinPool.

* Fixed missing space.

* Fixes according to code review.

* Fixed active tasks tracking which was broken when pooling was added.

* Keep track of task processing throughput via QueueStatistics.

* Updated comment.

* Fixed comment.

* Updated comment.

* Updated comment.

* Updated comment.

* Renamed field to have better name.

* Fixed formatting.

* Restored old formatting corrupted by IDE.

* Fixed formatting.

* Fixed comment.

* Fixed comment.

* Updated comment.

* Updated log message.

* Code-style fixes to match rest of file.

* Fixed code style to match existing code.

* Fixed formatting.

* Restored accidentally removed comment.

* Added myself to list of authors.
2018-11-29 12:52:23 -08:00
Ingo Bauersachs
9da28850f5 Fail build when version doesn't adhere to semantic versioning 2017-07-20 10:01:45 -05:00
Ingo Bauersachs
3f97648918 Switch to semantic versioning 2017-07-20 10:01:45 -05:00
Ingo Bauersachs
c52dbf7956 Add id to non-JDK8 profile to fix pom error 2017-07-20 10:01:45 -05:00
Boris Grozev
c30ebeca53 mvn: Updates the ice4j version to 2.0. 2016-11-21 13:08:32 -06:00
Lyubomir Marinov
bed87bcbd3 Merge branch 'javadoc' 2016-08-26 13:39:21 -05:00
damencho
4ba7247480 Adds javadoc target. 2016-08-26 12:50:52 -05:00
Ingo Bauersachs
7e152e0367 Add run targets that used to existed in Ant
mvn test-compile
mvn exec:java -Prun-<whatever>
2016-04-18 22:18:59 +02:00
Ingo Bauersachs
0f0fb9d06f [maven-release-plugin] prepare for next development iteration 2016-04-04 23:40:28 +02:00
Ingo Bauersachs
a4aca5721d [maven-release-plugin] prepare release ice4j-1.0 2016-04-04 23:40:22 +02:00
Ingo Bauersachs
dde63d6fc3 Add SCM data for maven-release-plugin 2016-04-04 23:39:04 +02:00
Ingo Bauersachs
78b6449b37 Prepare releasing on Maven Central
jitsi-universe-public only references components already on Central
(including itself). Based on that, there's no need for the private
repositories on GitHub anymore.
2016-04-02 15:01:44 +02:00
Ingo Bauersachs
9cbedb3a95 Use only OSS components for jain-sdp
The embedded jain-sdp library includes some interface-files that are
covered by a non-free license. Remove them and use a free version instead
that is published on Maven Central.
2016-04-02 15:01:37 +02:00
Boris Grozev
9fb7d02869 Uses a fixed version of jitsi-universe. 2016-02-02 14:48:59 -06:00
Ingo Bauersachs
6c99040496 Make ice4j an OSGi bundle 2015-11-01 18:11:23 +01:00
Lyubomir Marinov
75c2a52f9e Fixes GitHub issue #24: Wrong preference for choosing default candidate (not in accordance with rfc5245). 2015-07-28 11:35:07 -05:00
Lyubomir Marinov
4d08a7764f Moves the src and test directories to their respective Maven standard directory layout locations. 2015-07-28 08:48:27 -05:00
Lyubomir Marinov
71b27db69f Adds jitsi-maven-repository, avoids jitsi-universe prerequisite. 2015-07-27 13:49:44 -05:00
Lyubomir Marinov
8862d9cc5a Removes obsolete source code. 2015-07-15 16:47:20 -05:00
Lyubomir Marinov
84f8559d35 Changes the URL of the ice4j project from Google Code to GitHub. 2015-07-14 13:17:00 -05:00
lubomir.marinov
ffa876fa04 Extends the ice4j Maven project from the jitsi-universe Maven project in order to inherit common characteristics such as groupId, dependency and plugin versions. 2015-07-10 19:39:33 +00:00
lubomir.marinov
eea3d27caa Adds Maven support. 2015-06-29 00:10:16 +00:00