Interface WriteBehindConfiguration<R>

Type Parameters:
R - representation type
All Superinterfaces:
ServiceConfiguration<WriteBehindProvider,R>

public interface WriteBehindConfiguration<R> extends ServiceConfiguration<WriteBehindProvider,R>
ServiceConfiguration for the WriteBehindProvider.

The WriteBehindProvider provides write-behind services to a Cache.

  • Method Details

    • getConcurrency

      int getConcurrency()
      The concurrency of the write behind engines queues.
      Returns:
      the write behind concurrency
    • getMaxQueueSize

      int getMaxQueueSize()
      The maximum number of operations allowed on each write behind queue.

      Only positive values are legal.

      Returns:
      the maximum queue size
    • getBatchingConfiguration

      Returns the batching configuration or null if batching is not enabled.
      Returns:
      the batching configuration
    • getThreadPoolAlias

      String getThreadPoolAlias()
      Returns the alias of the thread resource pool to use for write behind task execution.
      Returns:
      the thread pool alias