Package org.apache.stratum.jcs.engine.control.group

Examples of org.apache.stratum.jcs.engine.control.group.GroupCache


                    // add the key to the attrNameSet

                    log.debug( "Adding to attrNameSet " );

                    getCacheManager();
                    GroupCache cache = ( GroupCache ) cacheMgr.getCache( cb.getCacheName() );
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "cache = " + cache );
                    }
                    cache.updateGroupAttrNameSet( ( GroupAttrName ) cb.getKey(), ICache.REMOTE_INVOKATION, false );

                    log.debug( "Adding to attrNameSet " );
                }
                else
                {
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "PUTTING ELEMENT FROM REMOTE, ( updating ) " );
                        log.debug( "cb = " + cb );

                        puts++;
                        if ( puts % 100 == 0 )
                        {
                            log.debug( "puts = " + puts );
                        }
                    }

                    getCacheManager();
                    ICompositeCache cache = ( ICompositeCache ) cacheMgr.getCache( irca.getCacheName() );
                    cache.update( cb, ICache.REMOTE_INVOKATION );

                }

            }
            else
View Full Code Here


                    // add the key to the attrNameSet

                    log.debug( "Adding to attrNameSet " );

                    getCacheManager();
                    GroupCache cache = ( GroupCache ) cacheMgr.getCache( cb.getCacheName() );
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "cache = " + cache );
                    }
                    cache.updateGroupAttrNameSet( ( GroupAttrName ) cb.getKey(), ICache.REMOTE_INVOKATION, false );

                    log.debug( "Adding to attrNameSet " );
                }
                else
                {
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "PUTTING ELEMENT FROM REMOTE, ( updating ) " );
                        log.debug( "cb = " + cb );

                        puts++;
                        if ( puts % 100 == 0 )
                        {
                            log.debug( "puts = " + puts );
                        }
                    }

                    getCacheManager();
                    ICompositeCache cache = ( ICompositeCache ) cacheMgr.getCache( irca.getCacheName() );
                    cache.update( cb, ICache.REMOTE_INVOKATION );

                }

            }
            else
View Full Code Here

                    // add the key to the attrNameSet

                    log.debug( "Adding to attrNameSet " );

                    getCacheManager();
                    GroupCache cache = ( GroupCache ) cacheMgr.getCache( cb.getCacheName() );
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "cache = " + cache );
                    }
                    cache.updateGroupAttrNameSet( ( GroupAttrName ) cb.getKey(), ICache.REMOTE_INVOKATION, false );

                    log.debug( "Adding to attrNameSet " );
                }
                else
                {
                    if ( log.isDebugEnabled() )
                    {
                        log.debug( "PUTTING ELEMENT FROM REMOTE, ( updating ) " );
                        log.debug( "cb = " + cb );

                        puts++;
                        if ( puts % 100 == 0 )
                        {
                            log.debug( "puts = " + puts );
                        }
                    }

                    getCacheManager();
                    ICompositeCache cache = ( ICompositeCache ) cacheMgr.getCache( irca.getCacheName() );
                    cache.update( cb, ICache.REMOTE_INVOKATION );

                }

            }
            else
View Full Code Here

TOP

Related Classes of org.apache.stratum.jcs.engine.control.group.GroupCache

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.