public void write(Object key, Object value) throws CachedStoreException { try { mgr.writeToStorage(key, value); } catch (Exception e) { e.printStackTrace(); throw CachedStoreUtils.toCachedStoreException(e); } }
public void remove(Object key) throws CachedStoreException { try { mgr.removeFromStorage(key); } catch (Exception e) { e.printStackTrace(); throw CachedStoreUtils.toCachedStoreException(e); } }
public Object find(Object key) throws CachedStoreException { try { return mgr.recreateFromKey(key); } catch (Exception e) { e.printStackTrace(); throw CachedStoreUtils.toCachedStoreException(e); } }