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