Package org.apache.stratum.jcs.engine.behavior

Examples of org.apache.stratum.jcs.engine.behavior.ICacheElement


     * sort of timeout.
     */
    public Serializable sendAndReceive( LateralElementDescriptor led )
        throws IOException
    {
        ICacheElement ice = null;

        log.debug( "sendAndReceive led" );

        if ( led == null )
        {
View Full Code Here


        if ( !isAlive )
        {
            return null;
        }

        ICacheElement obj = null;

        try
        {

            obj = ( ICacheElement ) database.read( new JISPKey( key ), index1 );

        }
        catch ( Exception e )
        {
            log.error( e );
        }

        if ( obj == null )
        {
            return null;
        }

        if ( log.isDebugEnabled() )
        {
            log.debug( " " + key + ", val = " + obj.getVal() );
        }

        if ( container )
        {
            return ( Serializable ) obj;
        }
        return obj.getVal();
    }
View Full Code Here

TOP

Related Classes of org.apache.stratum.jcs.engine.behavior.ICacheElement

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.