Package com.sun.messaging.jmq.util

Examples of com.sun.messaging.jmq.util.CacheHashMap


        // Do this only if transaction debug is enabled!
        if (GlobalProperties.getGlobalProperties().TRANSACTION_DEBUG) {
            if (con == null) return;

            CacheHashMap cache =(CacheHashMap)con.getClientData(
                IMQConnection.TRANSACTION_CACHE);
            if (cache == null) {
                cache = new CacheHashMap(4);
                con.addClientData(IMQConnection.TRANSACTION_CACHE, cache);
            }
            cache.put(id, ts);
        }
    }
View Full Code Here


        TransactionState ts = null;

        // Do this only if transaction debug is enabled!
        if (GlobalProperties.getGlobalProperties().TRANSACTION_DEBUG) {
            CacheHashMap cache = (CacheHashMap)con.getClientData(
                IMQConnection.TRANSACTION_CACHE);
            if (cache != null) {
               ts = (TransactionState)cache.get(id);
            }
        }

        return ts;
    }
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.util.CacheHashMap

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.