com.atlassian.bamboo.bandana
Class BandanaPersisterImpl

java.lang.Object
  extended by com.atlassian.bamboo.bandana.BandanaPersisterImpl
All Implemented Interfaces:
com.atlassian.bandana.BandanaPersister

public class BandanaPersisterImpl
extends Object
implements com.atlassian.bandana.BandanaPersister


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

Constructor Detail

BandanaPersisterImpl

public BandanaPersisterImpl(XStreamManager xStreamManager,
                            BandanaItemDao bandanaItemDao)
Method Detail

retrieve

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

retrieve

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

store

public void store(com.atlassian.bandana.BandanaContext bandanaContext,
                  String key,
                  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,
                   String key)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister

retrieveKeys

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.