Class LocalCacheManager

java.lang.Object
io.milton.cache.LocalCacheManager
All Implemented Interfaces:
CacheManager

public class LocalCacheManager extends Object implements CacheManager
Attempts to connect to a hazelcast cluster. To use this, be sure to include the optional hazelcast dependencies
Author:
brad
  • Constructor Details

    • LocalCacheManager

      public LocalCacheManager()
  • Method Details

    • getMap

      public Map getMap(String name)
      Specified by:
      getMap in interface CacheManager
    • getMaximumWeightedCapacity

      public int getMaximumWeightedCapacity()
    • setMaximumWeightedCapacity

      public void setMaximumWeightedCapacity(int maximumWeightedCapacity)