Interface BandanaPersister

All Known Implementing Classes:
ConfluenceBandanaPersister, ConfluenceDaoBandanaPersister, MemoryBandanaPersister, ReadThroughCachingBandanaPersister, TransactionalBandanaPersister

@Deprecated(forRemoval=true) public interface BandanaPersister
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.3 for removal in 10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Flush all caches of this persister.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Remove the storage of data associated with this context
    void
    remove(BandanaContext context, String key)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Remove the storage of data associated with this context, under the key
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieve all the values belonging to the context.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieve a value by its context/key tuple.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieve all the keys belonging to the context.
    void
    store(BandanaContext context, String key, Object value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Store a context/key/value triplet.
  • Method Details

    • retrieve

      Object retrieve(BandanaContext context, String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieve a value by its context/key tuple.
    • retrieve

      Map<String,Object> retrieve(BandanaContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieve all the values belonging to the context. Don't look at parent contexts.
      Returns:
      a Map containing the keys and values.
    • retrieveKeys

      Iterable<String> retrieveKeys(BandanaContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieve all the keys belonging to the context. Don't look at parent contexts.
      Returns:
      an Iterable containing the keys.
    • store

      void store(BandanaContext context, String key, Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Store a context/key/value triplet.
    • flushCaches

      default void flushCaches()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Flush all caches of this persister.
    • remove

      void remove(BandanaContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove the storage of data associated with this context
    • remove

      void remove(BandanaContext context, String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove the storage of data associated with this context, under the key