public void clear() throws LocalDBException { cacheStore.clear(); }
public void store(UserCacheRecord userCacheRecord) throws LocalDBException, PwmUnrecoverableException { final StorageKey storageKey = StorageKey.fromUserGUID(userCacheRecord.getUserGUID()); cacheStore.write(storageKey, userCacheRecord); }
public UserCacheRecord readStorageKey(final StorageKey storageKey) throws LocalDBException { final UserCacheRecord userCacheRecord = cacheStore.read(storageKey); return userCacheRecord; }
public boolean removeStorageKey(final StorageKey storageKey) throws LocalDBException { return cacheStore.remove(storageKey); }
public int size() throws LocalDBException { return cacheStore.size(); }