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