jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: size of memory cache in bytes
Date Tue, 20 Mar 2007 21:47:18 GMT
Hello,

> 
> Hi,
>  
> I would like to know if it is possible to query the size of the memory
> cache in bytes (as opposed to number of objects)? 

isn't this always very hard in java? The cache can't know which kind of objects you are storing,
so how could it know how large it is? If all your object are serializable, you could estimate
the size but you have to implement this yourself AFAIK

Regards Ard

>  
> - If yes can this be done on the group level or only on region level?
>  
> - If no what would be a(n easy) solution in your opinion if we still
> would like to do it?
>  
> Regards,
>  
> Zsolt
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message