Class TransactionalBandanaPersister
- java.lang.Object
-
- com.atlassian.confluence.impl.bandana.TransactionalBandanaPersister
-
- All Implemented Interfaces:
com.atlassian.bandana.BandanaPersister
@Transactional public class TransactionalBandanaPersister extends Object implements com.atlassian.bandana.BandanaPersister
ABandanaPersister
implementation that addsTransactional
annotations.- Since:
- 7.16
-
-
Constructor Summary
Constructors Constructor Description TransactionalBandanaPersister(com.atlassian.bandana.BandanaPersister delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushCaches()
void
remove(com.atlassian.bandana.BandanaContext context)
void
remove(com.atlassian.bandana.BandanaContext context, String key)
Map<String,Object>
retrieve(com.atlassian.bandana.BandanaContext context)
Object
retrieve(com.atlassian.bandana.BandanaContext context, String key)
Iterable<String>
retrieveKeys(com.atlassian.bandana.BandanaContext context)
void
store(com.atlassian.bandana.BandanaContext context, String key, Object value)
-
-
-
Method Detail
-
retrieve
@Transactional(readOnly=true) public Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
- Specified by:
retrieve
in interfacecom.atlassian.bandana.BandanaPersister
-
retrieve
@Transactional(readOnly=true) public Map<String,Object> retrieve(com.atlassian.bandana.BandanaContext context)
- Specified by:
retrieve
in interfacecom.atlassian.bandana.BandanaPersister
-
retrieveKeys
@Transactional(readOnly=true) public Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext context)
- Specified by:
retrieveKeys
in interfacecom.atlassian.bandana.BandanaPersister
-
store
public void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
- Specified by:
store
in interfacecom.atlassian.bandana.BandanaPersister
-
flushCaches
@Transactional(readOnly=true) public void flushCaches()
- Specified by:
flushCaches
in interfacecom.atlassian.bandana.BandanaPersister
-
remove
public void remove(com.atlassian.bandana.BandanaContext context)
- Specified by:
remove
in interfacecom.atlassian.bandana.BandanaPersister
-
remove
public void remove(com.atlassian.bandana.BandanaContext context, String key)
- Specified by:
remove
in interfacecom.atlassian.bandana.BandanaPersister
-
-