That was broken code-in-progress and not meant to be commnitted.
This commit is contained in:
@@ -43,19 +43,9 @@ public class EHCacheAdapter
|
|||||||
* cache manager when it knows that Depot and any other clients no longer need it.
|
* cache manager when it knows that Depot and any other clients no longer need it.
|
||||||
*/
|
*/
|
||||||
public EHCacheAdapter (CacheManager cachemgr)
|
public EHCacheAdapter (CacheManager cachemgr)
|
||||||
{
|
|
||||||
this(cachemgr, 1000, 300, 20);
|
|
||||||
}
|
|
||||||
|
|
||||||
public EHCacheAdapter (CacheManager cachemgr, int maxElementsInMemory,
|
|
||||||
int timeToIdleSeconds, int timeToLiveSeconds)
|
|
||||||
{
|
{
|
||||||
_cachemgr = cachemgr;
|
_cachemgr = cachemgr;
|
||||||
|
|
||||||
_maxElementsInMemory = maxElementsInMemory;
|
|
||||||
_timeToIdleSeconds = timeToIdleSeconds;
|
|
||||||
_timeToLiveSeconds = timeToLiveSeconds;
|
|
||||||
|
|
||||||
CacheManagerPeerListener listener = _cachemgr.getCachePeerListener();
|
CacheManagerPeerListener listener = _cachemgr.getCachePeerListener();
|
||||||
CacheManagerPeerProvider provider = _cachemgr.getCachePeerProvider();
|
CacheManagerPeerProvider provider = _cachemgr.getCachePeerProvider();
|
||||||
if ((provider != null) != (listener != null)) {
|
if ((provider != null) != (listener != null)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user