Package org.infinispan.commons.api
Interface TransactionalCache
- All Known Subinterfaces:
AdvancedCache<K,
,V> InternalRemoteCache<K,
,V> RemoteCache<K,
,V> SecureCache<K,
V>
- All Known Implementing Classes:
AbstractDelegatingAdvancedCache
,CacheImpl
,DecoratedCache
,DelegatingRemoteCache
,EncoderCache
,InvalidatedNearRemoteCache
,RemoteCacheImpl
,RemoteCacheSupport
,SecureCacheImpl
,SimpleCacheImpl
,StatsCollectingCache
public interface TransactionalCache
This interface is implemented by caches that support (i.e. can interact with) transactions.
- Since:
- 9.3
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptiondefault javax.transaction.TransactionManager
-
Method Details
-
getTransactionManager
default javax.transaction.TransactionManager getTransactionManager()- Returns:
- the
TransactionManager
in use by this cache ornull
if the cache isn't transactional.
-