Class JSONFileStore<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.IndexedStreamStore<V>
-
- edu.uiuc.ncsa.security.storage.FileStore<V>
-
- org.oa4mp.server.loader.oauth2.cm.json.JSONFileStore<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Store<V>
,edu.uiuc.ncsa.security.util.json.JSONStore<V>
,Map<edu.uiuc.ncsa.security.core.Identifier,V>
public class JSONFileStore<V extends edu.uiuc.ncsa.security.util.json.JSONEntry> extends edu.uiuc.ncsa.security.storage.FileStore<V> implements edu.uiuc.ncsa.security.util.json.JSONStore<V>
Created by Jeff Gaynor
on 2/20/19 at 10:13 AM
-
-
Constructor Summary
Constructors Constructor Description JSONFileStore(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter, boolean removeEmptyFiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<V>
getMostRecent(int n, List<String> attributes)
void
realSave(boolean checkExists, V t)
-
Methods inherited from class edu.uiuc.ncsa.security.storage.FileStore
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, get, getAll, getIndexEntry, getItemFile, getItemFile, getMapConverter, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, realRemove, register, remove, remove, removeIndexEntry, save, search, search, search, size, size, toString, update, values
-
Methods inherited from class edu.uiuc.ncsa.security.storage.IndexedStreamStore
createIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, put
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-