Class Config

  • All Implemented Interfaces:

    
    public final class Config
    
                        

    Configuration class for setting and retrieving cache size.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit setCacheSize(Long sizeInMb) Sets the cache size.
      final Long getCacheSize() Retrieves the cache size.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Config

        Config()
    • Method Detail

      • setCacheSize

         final Unit setCacheSize(Long sizeInMb)

        Sets the cache size.

        Parameters:
        sizeInMb - The size of content to cache, in megabytes.
      • getCacheSize

         final Long getCacheSize()

        Retrieves the cache size.

        Returns:

        The size of content to cache, in megabytes.