Package de.laures.cewolf.taglib.util

Examples of de.laures.cewolf.taglib.util.DatasetProductionTimeStore.containsEntry()


     * representation of this and a eventually formally stored object.
     */
    private void checkDataProductionNeed() {
        final String prodId = producer.getProducerId();
        DatasetProductionTimeStore dataCache = DatasetProductionTimeStore.getInstance();
        if (useCache && dataCache.containsEntry(prodId, datasetProductionParams)) {
            Date produceTime = dataCache.getProductionTime(prodId, datasetProductionParams);
            // cached data available
            if (!producer.hasExpired(datasetProductionParams, produceTime)) {
                this.datasetProduceTime = produceTime.getTime();
                return;
View Full Code Here


        log.debug("checking data actuality..." + producer + ", " + datasetProductionParams);
        final String prodId = producer.getProducerId();
        log.debug(prodId + ", " + KeyGenerator.generateKey((Serializable)datasetProductionParams));
        log.debug("useCache = " + useCache);
        DatasetProductionTimeStore dataCache = DatasetProductionTimeStore.getInstance();
        if (useCache && dataCache.containsEntry(prodId, datasetProductionParams)) {
            Date produceTime = dataCache.getProductionTime(prodId, datasetProductionParams);
            log.debug("cached data available.");
            // cached data available
            if (!producer.hasExpired(datasetProductionParams, produceTime)) {
                log.debug("cached data is still valid.");
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.