Examples of LateralTCPCacheManager


Examples of org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager

                    {
                        lca = new TCPLateralCacheAttributes();
                    }
                    lca.setTransmissionType( LateralCacheAttributes.TCP );
                    lca.setTcpServer( message.getHost() + ":" + message.getPort() );
                    LateralTCPCacheManager lcm = LateralTCPCacheManager.getInstance( lca, cacheMgr );

                    ArrayList regions = message.getCacheNames();
                    if ( regions != null )
                    {
                        // for each region get the cache
                        Iterator it = regions.iterator();
                        while ( it.hasNext() )
                        {
                            String cacheName = (String) it.next();

                            try
                            {
                                ICache ic = lcm.getCache( cacheName );

                                if ( log.isDebugEnabled() )
                                {
                                    log.debug( "Got cache, ic = " + ic );
                                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.