code: public static void initialize(final Class<?> _class)
          throws CacheReloadException
      {
          if (InfinispanCache.get().exists(Dimension.UUIDCACHE)) {
              InfinispanCache.get().<UUID, Dimension>getCache(Dimension.UUIDCACHE).clear();
          } else {
              InfinispanCache.get().<UUID, Dimension>getCache(Dimension.UUIDCACHE)
                              .addListener(new CacheLogListener(Dimension.LOG));
          }
          if (InfinispanCache.get().exists(Dimension.IDCACHE)) {
              InfinispanCache.get().<Long, Dimension>getCache(Dimension.IDCACHE).clear();
          } else {
              InfinispanCache.get().<Long, Dimension>getCache(Dimension.IDCACHE)
                              .addListener(new CacheLogListener(Dimension.LOG));
          }
          if (InfinispanCache.get().exists(Dimension.NAMECACHE)) {
              InfinispanCache.get().<String, Dimension>getCache(Dimension.NAMECACHE).clear();
          } else {
              InfinispanCache.get().<String, Dimension>getCache(Dimension.NAMECACHE)
                              .addListener(new CacheLogListener(Dimension.LOG));
          }
          if (InfinispanCache.get().exists(Dimension.IDCACHE4UOM)) {
              InfinispanCache.get().<Long, UoM>getCache(Dimension.IDCACHE4UOM).clear();
          } else {
              InfinispanCache.get().<Long, UoM>getCache(Dimension.IDCACHE4UOM)
                              .addListener(new CacheLogListener(Dimension.LOG));
          }
      }
docs: Method to initialize the Cache of this CacheObjectInterface.
  
  @param _class class that called the method
  @throws CacheReloadException on error