com.atlassian.confluence.cache.tangosol
Class TangosolCachedReference<V>

java.lang.Object
  extended by com.atlassian.confluence.cache.tangosol.TangosolCachedReference<V>
All Implemented Interfaces:
com.atlassian.cache.CachedReference<V>

public class TangosolCachedReference<V>
extends java.lang.Object
implements com.atlassian.cache.CachedReference<V>

A Tangosol cache backed implementation of a CachedReference. It is required that the backing TangosolCache has been configured with a CacheLoaderSupplier for creating the reference on a TangosolCache.get(Object) call.


Constructor Summary
TangosolCachedReference(TangosolCache<java.lang.String,V> cache)
           
 
Method Summary
 V get()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TangosolCachedReference

public TangosolCachedReference(TangosolCache<java.lang.String,V> cache)
Method Detail

get

public V get()
Specified by:
get in interface com.atlassian.cache.CachedReference<V>

reset

public void reset()
Specified by:
reset in interface com.atlassian.cache.CachedReference<V>


Copyright © 2003-2014 Atlassian. All Rights Reserved.