From bb5c573c0b52df6b49e8b333b5291176214569b0 Mon Sep 17 00:00:00 2001 From: Rogiel Date: Thu, 29 Dec 2011 03:02:23 -0200 Subject: [PATCH] Implements configuration for WorldEventDispatcherService --- .../service/cache/SoftCacheService.java | 2 +- .../service/cache/WeakCacheService.java | 2 +- .../distribution/services.xml | 59 ++++++++---------- l2jserver2-gameserver/services-sample.xml | 62 ++++++++----------- 4 files changed, 52 insertions(+), 73 deletions(-) diff --git a/l2jserver2-common/src/main/java/com/l2jserver/service/cache/SoftCacheService.java b/l2jserver2-common/src/main/java/com/l2jserver/service/cache/SoftCacheService.java index 4dc73c75b..bfc923c4f 100644 --- a/l2jserver2-common/src/main/java/com/l2jserver/service/cache/SoftCacheService.java +++ b/l2jserver2-common/src/main/java/com/l2jserver/service/cache/SoftCacheService.java @@ -186,7 +186,7 @@ public class SoftCacheService extends AbstractService implements CacheService { while ((en = (SoftEntry) refQueue.poll()) != null) { K key = en.getKey(); if (log.isDebugEnabled()) - log.debug("{} : cleaned up {} for key: {}", cacheName, key); + log.debug("{} : cleaned up value for key: {}", cacheName, key); cacheMap.remove(key); } } diff --git a/l2jserver2-common/src/main/java/com/l2jserver/service/cache/WeakCacheService.java b/l2jserver2-common/src/main/java/com/l2jserver/service/cache/WeakCacheService.java index 85d3f85d0..d408676a3 100644 --- a/l2jserver2-common/src/main/java/com/l2jserver/service/cache/WeakCacheService.java +++ b/l2jserver2-common/src/main/java/com/l2jserver/service/cache/WeakCacheService.java @@ -185,7 +185,7 @@ public class WeakCacheService extends AbstractService implements CacheService { while ((en = (Entry) refQueue.poll()) != null) { K key = en.getKey(); if (log.isDebugEnabled()) - log.debug("{}: cleaned up for key: {}", cacheName, key); + log.debug("{}: cleaned up value for key: {}", cacheName, key); cacheMap.remove(key); } } diff --git a/l2jserver2-gameserver/distribution/services.xml b/l2jserver2-gameserver/distribution/services.xml index d4a33f7e7..8868ad8ae 100644 --- a/l2jserver2-gameserver/distribution/services.xml +++ b/l2jserver2-gameserver/distribution/services.xml @@ -3,7 +3,11 @@ - + + + + @@ -17,8 +21,6 @@ - - @@ -29,43 +31,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -123,6 +99,13 @@ in the system and configure the system accordingly, set it to 0 --> + + + + + @@ -132,6 +115,14 @@ server software to the player computer running the game client. Although not required, without them, becomes impossible to connect to the server in order to play the game. --> + + + + + - + + + + @@ -28,8 +32,6 @@ - - @@ -40,26 +42,12 @@ - - - - - - - - - - - - - - - + + + @@ -76,19 +64,6 @@ level="INFO" /> - - - - - - - - - @@ -144,7 +119,12 @@ in the system and configure the system accordingly, set it to 0 --> - + + + + @@ -153,6 +133,14 @@ server software to the player computer running the game client. Although not required, without them, becomes impossible to connect to the server in order to play the game. --> + + + + +