/** * Set the persistent cache implementation * * @param cache * @throws IOException */ public static void setPersistentCache(EntityCapsPersistentCache cache) throws IOException { if (persistentCache != null) throw new IllegalStateException("Entity Caps Persistent Cache was already set"); persistentCache = cache; persistentCache.replay(); }