1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +00:00

Inventory open implementation, Html updates, Pathing generator,

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-19 23:42:45 -03:00
parent 1de8662be6
commit 9b4fe02ee4
49 changed files with 908 additions and 166 deletions

View File

@@ -25,6 +25,8 @@ import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Element;
import net.sf.ehcache.config.CacheConfiguration;
import net.sf.ehcache.config.Configuration;
import net.sf.ehcache.config.DiskStoreConfiguration;
import net.sf.ehcache.store.MemoryStoreEvictionPolicy;
import com.l2jserver.service.AbstractService;
@@ -48,7 +50,8 @@ public class EhCacheService extends AbstractService implements CacheService {
@Override
protected void doStart() throws ServiceStartException {
manager = new CacheManager();
manager = new CacheManager(new Configuration().updateCheck(false)
.diskStore(new DiskStoreConfiguration().path("data/cache")));
interfaceCache = createCache("interface-cache");
}