com.atlassian.confluence.cache.tangosol.hibernate
Interface InvokableHibernateCache

All Superinterfaces:
net.sf.hibernate.cache.Cache
All Known Implementing Classes:
CoherenceInvokableHibernateCache, DefaultInvokableHibernateCache

public interface InvokableHibernateCache
extends net.sf.hibernate.cache.Cache

This interface introduces the invoke(Object, com.tangosol.util.InvocableMap.EntryProcessor) method on top of net.sf.hibernate.Cache interface to leverage Coherence's InvocableMap support which replaces the common lock->get->calculation->set->unlock concept with a less latency one.


Method Summary
 Object invoke(Object key, com.tangosol.util.InvocableMap.EntryProcessor processor)
           
 
Methods inherited from interface net.sf.hibernate.cache.Cache
clear, destroy, get, getTimeout, lock, nextTimestamp, put, remove, unlock
 

Method Detail

invoke

Object invoke(Object key,
              com.tangosol.util.InvocableMap.EntryProcessor processor)
              throws net.sf.hibernate.cache.CacheException
Throws:
net.sf.hibernate.cache.CacheException


Copyright © 2003-2012 Atlassian. All Rights Reserved.