Package net.sf.jportlet.service.cache

Examples of net.sf.jportlet.service.cache.CacheableImpl


                if ( debug )
                {
                    _log.debug( "...Caching the portlet body" );
                }

                cacheable = new CacheableImpl( id, body, 1000 * cache.getExpires(  ) );
                _cacheRegion.put( cacheable );
            }
        }

        /* Bye */
 
View Full Code Here


        {
            PortletResponseImpl resp = ( PortletResponseImpl ) response;
            PortletDescriptor   descr = proxy.getDescriptor(  );
            CacheDescriptor     cache = descr.getCacheDescriptor( request.getMode(  ) );
            CacheRegion         region = getCacheService( proxy ).getRegion( descr.getName(  ), true );
            CacheableImpl       cacheable = new CacheableImpl( id, resp.getBuffer(  ).toString(  ), 1000 * cache.getExpires(  ) );

            if ( debug )
            {
                __log.debug( "Caching portlet content:" + id );
            }
View Full Code Here

TOP

Related Classes of net.sf.jportlet.service.cache.CacheableImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.