~ubuntu-branches/ubuntu/trusty/ehcache/trusty

« back to all changes in this revision

Viewing changes to src/main/java/net/sf/ehcache/constructs/EhcacheDecoratorAdapter.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-05-06 14:53:07 UTC
  • mfrom: (1.1.7) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130506145307-v5bhw5yu70re00l3
Tags: 2.6.7-1
* Team upload.
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 *  Copyright 2003-2010 Terracotta, Inc.
 
2
 *  Copyright Terracotta, Inc.
3
3
 *
4
4
 *  Licensed under the Apache License, Version 2.0 (the "License");
5
5
 *  you may not use this file except in compliance with the License.
36
36
import net.sf.ehcache.loader.CacheLoader;
37
37
import net.sf.ehcache.search.Attribute;
38
38
import net.sf.ehcache.search.Query;
 
39
import net.sf.ehcache.search.attribute.DynamicAttributesExtractor;
39
40
import net.sf.ehcache.statistics.CacheUsageListener;
40
41
import net.sf.ehcache.statistics.LiveCacheStatistics;
41
42
import net.sf.ehcache.statistics.sampled.SampledCacheStatistics;
608
609
        underlyingCache.registerCacheWriter(cacheWriter);
609
610
    }
610
611
 
 
612
 
 
613
    /**
 
614
     * {@inheritDoc}
 
615
     */
 
616
    public void registerDynamicAttributesExtractor(DynamicAttributesExtractor extractor) {
 
617
        underlyingCache.registerDynamicAttributesExtractor(extractor);
 
618
    }
 
619
 
611
620
    /**
612
621
     * {@inheritDoc}
613
622
     */
667
676
    /**
668
677
     * {@inheritDoc}
669
678
     */
670
 
    public void setDiskStorePath(String diskStorePath) throws CacheException {
671
 
        underlyingCache.setDiskStorePath(diskStorePath);
672
 
    }
673
 
 
674
 
    /**
675
 
     * {@inheritDoc}
676
 
     */
677
679
    public void setName(String name) {
678
680
        underlyingCache.setName(name);
679
681
    }
758
760
    /**
759
761
     * {@inheritDoc}
760
762
     */
 
763
    public Element putIfAbsent(final Element element, final boolean doNotNotifyCacheReplicators) throws NullPointerException {
 
764
        return underlyingCache.putIfAbsent(element, doNotNotifyCacheReplicators);
 
765
    }
 
766
 
 
767
    /**
 
768
     * {@inheritDoc}
 
769
     */
761
770
    public boolean removeElement(Element element) throws NullPointerException {
762
771
        return underlyingCache.removeElement(element);
763
772
    }