Class ConfluenceDaoBandanaPersister

  • All Implemented Interfaces:
    com.atlassian.bandana.BandanaPersister

    public class ConfluenceDaoBandanaPersister
    extends Object
    implements com.atlassian.bandana.BandanaPersister
    BandanaPersister that stores and retrieves Bandana via a ConfluenceBandanaRecordDao. Records are not retrieved from patent contexts by the persister.
    • Constructor Detail

      • ConfluenceDaoBandanaPersister

        public ConfluenceDaoBandanaPersister()
    • Method Detail

      • retrieve

        public Object retrieve​(com.atlassian.bandana.BandanaContext context,
                               String key)
        Specified by:
        retrieve in interface com.atlassian.bandana.BandanaPersister
      • retrieve

        public Map retrieve​(com.atlassian.bandana.BandanaContext context)
        Specified by:
        retrieve in interface com.atlassian.bandana.BandanaPersister
      • retrieveKeys

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

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

        public void remove​(com.atlassian.bandana.BandanaContext context,
                           String key)
        Specified by:
        remove in interface com.atlassian.bandana.BandanaPersister