Class AsyncStoreConfiguration

  • All Implemented Interfaces:
    BaseConfigurationInfo, ConfigurationInfo

    public class AsyncStoreConfiguration
    extends java.lang.Object
    implements ConfigurationInfo
    Configuration for the async cache store. If enabled, this provides you with asynchronous writes to the cache store, giving you 'write-behind' caching.
    • Method Detail

      • enabled

        public boolean enabled()
        If true, all modifications to this cache store happen asynchronously, on a separate thread.
      • modificationQueueSize

        public int modificationQueueSize()
        Sets the size of the modification queue for the async store. If updates are made at a rate that is faster than the underlying cache store can process this queue, then the async store behaves like a synchronous store for that period, blocking until the queue can accept more elements.
      • threadPoolSize

        public int threadPoolSize()
        Size of the thread pool whose threads are responsible for applying the modifications.
      • failSilently

        public boolean failSilently()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object