jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Varszegi" <zs...@switchfire.com>
Subject RE: size of memory cache in bytes
Date Wed, 21 Mar 2007 09:12:13 GMT
(Sigh..) I was afraid you would say this. I thought about this option
but felt was a bit troublesome. But if there is no other easier way I
guess I will have to go ahead with this. 

Thanks very much for taking the time to answer though.

Regards, 

Zsolt 

-----Original Message-----
From: Ard Schrijvers [mailto:a.schrijvers@hippo.nl] 
Sent: 20 March 2007 21:47
To: JCS Users List
Subject: RE: size of memory cache in bytes

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


---------------------------------------------------------------------
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