@Transactional public class TransactionalBandanaPersister extends Object implements com.atlassian.bandana.BandanaPersister
BandanaPersister
implementation that adds Transactional
annotations.Constructor and Description |
---|
TransactionalBandanaPersister(com.atlassian.bandana.BandanaPersister delegate) |
Modifier and Type | Method and 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) |
public TransactionalBandanaPersister(com.atlassian.bandana.BandanaPersister delegate)
@Transactional(readOnly=true) public Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@Transactional(readOnly=true) public Map<String,Object> retrieve(com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@Transactional(readOnly=true) public Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext context)
retrieveKeys
in interface com.atlassian.bandana.BandanaPersister
public void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
store
in interface com.atlassian.bandana.BandanaPersister
@Transactional(readOnly=true) public void flushCaches()
flushCaches
in interface com.atlassian.bandana.BandanaPersister
public void remove(com.atlassian.bandana.BandanaContext context)
remove
in interface com.atlassian.bandana.BandanaPersister
public void remove(com.atlassian.bandana.BandanaContext context, String key)
remove
in interface com.atlassian.bandana.BandanaPersister
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences