com.atlassian.bamboo.bandana
Class DefaultBandanaPersister

java.lang.Object
  extended by com.atlassian.bamboo.bandana.DefaultBandanaPersister
All Implemented Interfaces:
BambooBandanaPersister, com.atlassian.bandana.BandanaPersister

public class DefaultBandanaPersister
extends java.lang.Object
implements BambooBandanaPersister


Constructor Summary
DefaultBandanaPersister(XStreamManager xStreamManager, BandanaItemDao bandanaItemDao)
           
 
Method Summary
 void flushCaches()
           
 void remove(com.atlassian.bandana.BandanaContext bandanaContext)
           
 void remove(com.atlassian.bandana.BandanaContext bandanaContext, java.lang.String key)
           
 java.util.Map<java.lang.String,java.lang.Object> retrieve(com.atlassian.bandana.BandanaContext bandanaContext)
           
 java.lang.Object retrieve(com.atlassian.bandana.BandanaContext bandanaContext, java.lang.String key)
           
 java.lang.Iterable<java.lang.String> retrieveKeys(com.atlassian.bandana.BandanaContext bandanaContext)
           
 void store(com.atlassian.bandana.BandanaContext bandanaContext, java.lang.String key, java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBandanaPersister

public DefaultBandanaPersister(XStreamManager xStreamManager,
                               BandanaItemDao bandanaItemDao)
Method Detail

retrieve

@Nullable
public java.lang.Object retrieve(com.atlassian.bandana.BandanaContext bandanaContext,
                                          java.lang.String key)
Specified by:
retrieve in interface com.atlassian.bandana.BandanaPersister

retrieve

public java.util.Map<java.lang.String,java.lang.Object> retrieve(com.atlassian.bandana.BandanaContext bandanaContext)
Specified by:
retrieve in interface com.atlassian.bandana.BandanaPersister

store

public void store(com.atlassian.bandana.BandanaContext bandanaContext,
                  java.lang.String key,
                  java.lang.Object o)
Specified by:
store in interface com.atlassian.bandana.BandanaPersister

flushCaches

public void flushCaches()
Specified by:
flushCaches in interface com.atlassian.bandana.BandanaPersister

remove

public void remove(com.atlassian.bandana.BandanaContext bandanaContext)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister

remove

public void remove(com.atlassian.bandana.BandanaContext bandanaContext,
                   java.lang.String key)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister

retrieveKeys

public java.lang.Iterable<java.lang.String> retrieveKeys(com.atlassian.bandana.BandanaContext bandanaContext)
Specified by:
retrieveKeys in interface com.atlassian.bandana.BandanaPersister


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.