Class OLDMonitoredFileStore<V extends edu.uiuc.ncsa.security.core.Identifiable>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.IndexedStreamStore<V>
-
- edu.uiuc.ncsa.security.storage.FileStore<V>
-
- org.oa4mp.delegation.common.monitored.storage.OLDMonitoredFileStore<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Store<V>
,edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V>
,Map<edu.uiuc.ncsa.security.core.Identifier,V>
public abstract class OLDMonitoredFileStore<V extends edu.uiuc.ncsa.security.core.Identifiable> extends edu.uiuc.ncsa.security.storage.FileStore<V> implements edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V>
Deprecated.useMonitoredFileStore
in Sec-LibCreated by Jeff Gaynor
on 3/29/23 at 10:00 AM
-
-
Constructor Summary
Constructors Constructor Description OLDMonitoredFileStore(File directory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles, boolean removeFailedFiles)
Deprecated.OLDMonitoredFileStore(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter, boolean removeEmptyFiles, boolean removeFailedFiles)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addLastAccessedEventListener(edu.uiuc.ncsa.security.storage.events.LastAccessedEventListener lastAccessedEventListener)
Deprecated.void
fireLastAccessedEvent(edu.uiuc.ncsa.security.storage.MonitoredStoreInterface store, edu.uiuc.ncsa.security.core.Identifier identifier)
Deprecated.V
get(Object key)
Deprecated.List<edu.uiuc.ncsa.security.storage.events.LastAccessedEventListener>
getLastAccessedEventListeners()
Deprecated.List<V>
getMostRecent(int n, List<String> attributes)
Deprecated.edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConfiguration
getUpkeepConfiguration()
Deprecated.UUID
getUuid()
Deprecated.boolean
isMonitorEnabled()
Deprecated.void
lastAccessUpdate(edu.uiuc.ncsa.security.storage.events.IDMap idMap)
Deprecated.void
setMonitorEnabled(boolean x)
Deprecated.void
setUpkeepConfiguration(edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConfiguration upkeepConfiguration)
Deprecated.-
Methods inherited from class edu.uiuc.ncsa.security.storage.FileStore
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, getAll, getIndexDirectory, getIndexEntry, getItemFile, getItemFile, getMapConverter, getStorageDirectory, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, realRemove, realSave, register, remove, remove, removeIndexEntry, save, search, search, search, setIndexDirectory, setStorageDirectory, 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
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
OLDMonitoredFileStore
public OLDMonitoredFileStore(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter, boolean removeEmptyFiles, boolean removeFailedFiles)
Deprecated.
-
-
Method Detail
-
getMostRecent
public List<V> getMostRecent(int n, List<String> attributes)
Deprecated.- Specified by:
getMostRecent
in interfaceedu.uiuc.ncsa.security.core.Store<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
getLastAccessedEventListeners
public List<edu.uiuc.ncsa.security.storage.events.LastAccessedEventListener> getLastAccessedEventListeners()
Deprecated.- Specified by:
getLastAccessedEventListeners
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
getUuid
public UUID getUuid()
Deprecated.- Specified by:
getUuid
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
addLastAccessedEventListener
public void addLastAccessedEventListener(edu.uiuc.ncsa.security.storage.events.LastAccessedEventListener lastAccessedEventListener)
Deprecated.- Specified by:
addLastAccessedEventListener
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
fireLastAccessedEvent
public void fireLastAccessedEvent(edu.uiuc.ncsa.security.storage.MonitoredStoreInterface store, edu.uiuc.ncsa.security.core.Identifier identifier)
Deprecated.- Specified by:
fireLastAccessedEvent
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
isMonitorEnabled
public boolean isMonitorEnabled()
Deprecated.- Specified by:
isMonitorEnabled
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
setMonitorEnabled
public void setMonitorEnabled(boolean x)
Deprecated.- Specified by:
setMonitorEnabled
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
lastAccessUpdate
public void lastAccessUpdate(edu.uiuc.ncsa.security.storage.events.IDMap idMap)
Deprecated.- Specified by:
lastAccessUpdate
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
getUpkeepConfiguration
public edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConfiguration getUpkeepConfiguration()
Deprecated.- Specified by:
getUpkeepConfiguration
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
setUpkeepConfiguration
public void setUpkeepConfiguration(edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConfiguration upkeepConfiguration)
Deprecated.- Specified by:
setUpkeepConfiguration
in interfaceedu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
-
-