|
Thanks steve however, as i said before until im familiar with
configuring java configs, im going to leave them as default, it seems
its not using cache ! <!-- Now we can load the cache engine, only one may be enabled at a time. If no-caching is required select the NoCacheImpl. Three other implementations based on EhCache, WhirlyCache, and Red5Cache are also available. --> <bean id="object.cache" class="org.red5.server.cache.NoCacheImpl" /> <!-- <bean id="object.cache" class="org.red5.server.cache.CacheImpl" init-method="init" autowire="byType"> <property name="maxEntries"><value>5</value></property> </bean> <bean id="object.cache" class="org.red5.server.cache.WhirlyCacheImpl" init-method="init" autowire="byType"> <property name="maxEntries" value="5" /> <property name="cacheConfig"> <bean class="com.whirlycott.cache.CacheConfiguration"> <property name="name" value="flv.cache" /> <property name="maxSize" value="5" /> <property name="policy"><value>com.whirlycott.cache.policy.LFUMaintenancePolicy</value></property> <property name="backend"><value>com.whirlycott.cache.impl.FastHashMapImpl</value></property> </bean> </property> </bean> <bean id="object.cache" class="org.red5.server.cache.EhCacheImpl" init-method="init"> <property name="diskStore" value="java.io.tmpdir" /> <property name="memoryStoreEvictionPolicy" value="LFU" /> <property name="cacheManagerEventListener"><null/></property> <property name="cacheConfigs"> <list> <bean class="net.sf.ehcache.config.CacheConfiguration"> <property name="name" value="flv.cache" /> <property name="maxElementsInMemory" value="5" /> <property name="eternal" value="false" /> <property name="timeToIdleSeconds" value="0" /> <property name="timeToLiveSeconds" value="0" /> <property name="overflowToDisk" value="false" /> <property name="diskPersistent" value="false" /> </bean> </list> </property> </bean> --> Steven Gong wrote:
|
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
