Commit Graph
81 Commits
Author SHA1 Message Date
Axel Uhl 311f4b4f0e use a foreground instead of a background executor in LeaderboardDTOCache
Change-Id: Ia223d8c0367e6b87e0918ae37c8cbbd717d6ae10
2016-09-16 12:23:16 +02:00
EC2 Server 541ac164f0 increased the thread pool sizes again after it turned out that we only get ~50% CPU utilization 2016-08-18 15:06:41 +00:00
Axel Uhl 7034c1beeb implemented ScheduledExecutorService thread pools in ThreadPoolUtilImpl 2016-08-16 23:21:36 +02:00
Axel Uhl 25c27e5a8b using ScheduledExecutorService in ThreadPoolUtils to allow delayed / fixed-rate scheduling as well 2016-08-16 23:20:17 +02:00
Axel Uhl 696db21f3a introduced a default foreground task executor in ThreadPoolUtils which is used in AbstractSimpleLeaderboardImpl now
Change-Id: I46d039cb23e31bf7cf31598af3eb51b62b7a9520
2016-08-16 13:14:47 +02:00
Axel Uhl 852f114d84 using new ThreadPoolUtil to size and use and, where necessary, create thread pool executors so we reduce the amount of runnable threads
Change-Id: I56a9f68aca7b28dc28fbb096f6bfb6cb9dce35a9
2016-08-15 18:24:18 +02:00
Axel Uhl 6a458db1b3 reduced the size of our thread pools and use only one static thread pool for all leaderboard objects;
this is to give the garbage collection (GC) a chance to not get outperformed by the application threads

Change-Id: Ic7df09fbc4951539be479d27775916e262678fc5
2016-07-28 19:08:19 +02:00
Benjamin Barth 480544df7a Merge remote-tracking branch 'origin/master' into bug2775 2016-06-09 16:32:49 +02:00
Axel Uhl 32daae4ad3 where concurrency support plays a role, changed field declarations from ConcurrentHashMap to ConcurrentMap which is sufficiently specific
Change-Id: I71254d96d495a1a8d79e009d70fd8928b720b31e
2016-06-07 17:08:07 +02:00
Axel Uhl 7aadb0a48e whitespace changes only
Change-Id: I616b32ec9f83ec664311be03a57e351ed3c340f8
2016-05-13 21:59:16 +02:00
Benjamin Barth 8c1cc476db Adjusted locale lookup behavior for ResourceBundleStringMessages 2016-05-13 10:39:46 +02:00
Axel Uhl 2069afdfbf whitespace changes only
Change-Id: I3127d548c6907fc4dc984726f3220a4b2d79dead
2016-05-03 11:22:14 +02:00
Steffen Schaefer abaec79801 Merge branch 'master' into bug2775 2016-04-21 08:10:52 +02:00
Axel Uhl c3f91ccc4c extend initial connection timeout from 10s to 10min; for Master Data Import it used to be 60s and even that was close...;
this partly reverts a "refactoring" that was none (938e1e8cbc) which replaced
an explicit 60s timeout with a util call that uses 10s

Change-Id: I1dbda0314550dcc77c7d69c3513d1de8430eae07
2016-04-20 22:34:14 +02:00
Steffen Schaefer 2923d980ad Merge remote-tracking branch 'origin/master' into bug2775 2016-04-19 08:45:34 +02:00
Steffen Schaefer 61d296cbdf Merge branch 'master' into bug2775
Conflicts:
	java/pom.xml
2016-04-12 15:37:57 +02:00
Axel Uhl 84fbd8d6e0 As fix for bug 3589, added MailServiceResolver and use ObjectInputStreamResolvingAgainstCache which respects Thread's context class loader
Change-Id: I498624382678929da138d01ff5802f4a44851f44
2016-04-12 10:44:57 +02:00
Axel Uhl 16a4913e44 formatting, whitespace, refactoring in createBaseURL, always removing trailing slash from URL
Change-Id: Ib4a199e0f05d1cf4a58bed69943386d1ddb24fa6
2016-03-24 14:51:49 +01:00
Charlotte Proeller fc87ad2e91 bug3534: also use also the redirection for update RemoveServer 2016-03-23 23:59:20 +01:00
Steffen Schaefer c651316031 Moved SettingsToJsonSerializer to com.sap.sse.shared.android and added
com.sap.sse.shared.android.test
2016-03-15 15:02:07 +01:00
Steffen Schaefer fbd6651866 bug 2775: Initial changes for reflection-free settings and serialization 2016-03-15 11:14:17 +01:00
Axel Uhl 2bece4b5d7 making IdentityWrapper serializable 2015-12-03 21:21:56 +01:00
Axel Uhl 6157309227 using a ConcurrentHashMap with the new IdentityWrapper to avoid excessive synchronization on markPassingLocks; see bug 3380 2015-12-03 21:17:01 +01:00
JDann 85c51ad4a6 Fixed warning of resource leak 2015-12-01 16:01:17 +01:00
Lennart Hensler 1c1332daf9 Removed the UUID from the DataRetrieverChainDefinition 2015-10-14 19:25:25 +02:00
fmittag b43786d728 - Implemented loading and storing of a 'isStandaloneServer' attribute of a new SailingServerConfiguration domain object.
- Implemented a tab in the admin console for showing static server information and dynamic server configuration
- refactoring of static BuildVersion class into more generic ServerInfo class
2015-09-02 00:37:41 +02:00
Axel Uhl d90bc57e4c bug 3181: set "daemon" property on all our thread pool threads that are intended for background updates;
this lets the VM exit upon shutdown / close
2015-07-24 17:53:27 +02:00
Axel Uhl adfe1fe8c8 fixing bug 3178 by applying the unwinding finally clause also when exception is thrown in computeCacheUpdate, not only in provideNewCacheValue 2015-07-24 00:31:26 +02:00
Axel Uhl e2831de2e1 added a failing test case for bug 2995 and prepared a solution by introducing SerializableFunction 2015-06-22 14:50:02 +02:00
Axel Uhl 329654cf2c re-enabled enum settings de-serialization again after having moved to com.sap.sse bundle 2015-05-23 01:00:09 +02:00
Axel Uhl 5d29687a02 moved settings JSON serialization test to gateway test for now 2015-05-23 00:59:16 +02:00
Axel Uhl 8ca4f5e8b5 moved settings serialization from com.sap.sse.common to com.sap.sse; created new test fragment com.sap.sse.test which now hosts the settings serializer test case 2015-05-23 00:02:37 +02:00
Axel Uhl 181e5ee5b9 Merge branch 'master' into ubilabs--tracking_app--develop 2015-05-04 23:14:52 +02:00
Lennart Hensler d173a1202b Merge remote-tracking branch 'origin/master' into dataMining 2015-04-24 10:16:18 +02:00
Axel Uhl c2db032c7b Merge branch 'master' into ubilabs--tracking_app--develop 2015-04-23 23:42:07 +02:00
Axel Uhl c7d6f62a75 fixing bug 2767 by also registering the old GPSFix(Moving)Impl type names with their old package locations for the Mongo persistence handler;
the commit in which the types were moved was 58bd451481
2015-04-23 15:41:08 +02:00
Lennart Hensler 5c616d722c Implemented an automatic update mechanism for the data mining UI 2015-04-22 15:25:51 +02:00
Axel Uhl 75b04d8048 Merge branch 'master' into ubilabs--tracking_app--develop 2015-03-30 22:09:02 +02:00
Axel Uhl 582c971da0 fixed typo in comment 2015-03-19 17:02:23 +01:00
Frederik Petersen 0193aaef0d Added missing path to get method
if waitForLatest is true, the triggeredAndNotYetScheduled queue empty and
no ongoingRecalculations -> the future was null and a NPE was thrown

now it just takes the current cache value in that case
2015-03-16 22:36:08 +01:00
Axel Uhl 1bd6816e98 addressing bug2704 comment #6 2015-03-16 22:35:19 +01:00
Axel Uhl 67e9df6dc7 fixed synchronization issue on SmartFutureCache 2015-03-16 18:38:54 +01:00
Axel Uhl 7a9498163a untested attempt to fix bug 2704, re-thinking SmartFutureCache 2015-03-16 18:30:29 +01:00
Frederik Petersen 2c4fa6a5c1 Improved synchronizing after bug2704 changes.
synchronizing now works solely with ongoingRecalculations monitor.

also added thread handshake to test case
2015-03-16 14:25:11 +01:00
Frederik Petersen 89a3791467 Smart future cache will now not have multiple concurrent recalculation
for the same key. It remembers triggers in a new map.
see bug2704
2015-03-16 11:35:13 +01:00
Peter Siegmund f169fc8b4f Merge branch 'master' into ubilabs--tracking_app--develop
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sse.security.ui/Security UI sdm.launch
2015-03-12 10:06:04 +01:00
Lennart Hensler e79fce62f9 Improved the string messages with parameters 2015-03-09 15:32:10 +01:00
Lennart Hensler 235cfb8aae Improved the message conflict logging 2015-03-08 11:53:35 +01:00
Axel Uhl 330a889dd4 Merge branch 'master' into ubilabs--tracking_app--develop 2015-03-04 16:46:28 +01:00
Lennart Hensler 9b627c40f9 Merge remote-tracking branch 'origin/master' into dataMining 2015-02-18 10:51:27 +01:00