de.smartics.properties.spi.config.cache.infinispan
Class InfinispanDelegatingCache<K,V>
java.lang.Object
de.smartics.properties.spi.config.cache.infinispan.InfinispanDelegatingCache<K,V>
-
Type Parameters:
-
K
- the type for the key.
-
V
- the type for the value.
-
All Implemented Interfaces:
-
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
public class InfinispanDelegatingCache<K,V>
-
extends
Object
-
implements de.smartics.properties.spi.config.cache.UnawareCache<K,V>
Implementation of an cache that delegates to an infinispan cache.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfinispanDelegatingCache
public InfinispanDelegatingCache(org.infinispan.Cache<K,V> cache)
-
Constructor.
-
Parameters:
-
cache
- the cache to delegate to.
get
public final V get(Object key)
-
-
Specified by:
-
get
in interface
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
put
public final void put(K key,
V resolvedProperty,
long updateIntervalInMs,
TimeUnit milliseconds)
-
-
Specified by:
-
put
in interface
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
remove
public final V remove(Object key)
-
-
Specified by:
-
remove
in interface
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
put
public final void put(K key,
V value)
-
-
Specified by:
-
put
in interface
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
put
public final void put(K key,
V value,
int lifespan,
TimeUnit lifespanTimeUnit,
int maxIdleTime,
TimeUnit maxIdleTimeTimeUnit)
-
-
Specified by:
-
put
in interface
de.smartics.properties.spi.config.cache.UnawareCache<K,V>
-
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.