Class RMIBootstrapCacheLoaderFactory

    • Field Detail

      • MAXIMUM_CHUNK_SIZE_BYTES

        public static final java.lang.String MAXIMUM_CHUNK_SIZE_BYTES
        The property name expected in ehcache.xml for the maximum chunk size in bytes
        See Also:
        Constant Field Values
      • DEFAULT_MAXIMUM_CHUNK_SIZE_BYTES

        protected static final int DEFAULT_MAXIMUM_CHUNK_SIZE_BYTES
        The default maximum serialized size of the elements to request from a remote cache peer during bootstrap.
        See Also:
        Constant Field Values
      • ONE_HUNDRED_MB

        protected static final int ONE_HUNDRED_MB
        The highest reasonable chunk size in bytes
        See Also:
        Constant Field Values
      • FIVE_KB

        protected static final int FIVE_KB
        The lowest reasonable chunk size in bytes
        See Also:
        Constant Field Values
    • Constructor Detail

      • RMIBootstrapCacheLoaderFactory

        public RMIBootstrapCacheLoaderFactory()
    • Method Detail

      • extractMaximumChunkSizeBytes

        protected int extractMaximumChunkSizeBytes​(java.util.Properties properties)
        Parameters:
        properties - the properties passed by the CacheManager, read from the configuration file
        Returns:
        the max chunk size in bytes