PRODUCTS AND SERVICES INDUSTRIES SUPPORT PARTNERS COMMUNITIES ABOUT
   
  Label: faq-code-examples+size

All content with label faq-code-examples+size.
Related Labels: review , expiry , namedcache , javabean , synchronize , coherence-cache-config , cluster , backing-map , deployment , cachestore , extend , hibernate , expiration , mutex , troubleshooting , serialization , cache , jmx , invocation , more » ( - faq-code-examples , - size )

How do I limit a cache size by bytes instead of by the entry count? (Coherence FAQ)
partitioned cache, use the attached cache extension MemoryLimitedCache.java which measures its units in bytes. Configure the {{highunits}} to be in bytes, as shown below. Be sure to specify the class of the cache extension, too. <localscheme> <schemename>bytelimited</schemename> <classname>com.tangosol.examples.coherence.MemoryLimitedCache</classname ...