code: @Override
      public void addScope(String scope, int maxItemsInMemory) throws Exception {
          CacheConfiguration scopeConfig = new CacheConfiguration(scope, maxItemsInMemory);
  
          scopeManager.addCache(new Cache(scopeConfig));
      }
docs: Adds a new scope. The scope is an instance of EhCache's {@link Cache}.
  
  @param scope            the name of the scope
  @param maxItemsInMemory the maximum number of items in memory, before they are evicted
  @throws Exception