Class OLDMonitoredSQLStore<V extends edu.uiuc.ncsa.security.core.Identifiable>

  • 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 OLDMonitoredSQLStore<V extends edu.uiuc.ncsa.security.core.Identifiable>
    extends edu.uiuc.ncsa.security.storage.sql.SQLStore<V>
    implements edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V>
    Deprecated.
    Use MonitoredSQLStore in Sec Lib

    Created by Jeff Gaynor
    on 3/29/23 at 10:24 AM

    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStore

        converter, identifiableProvider
      • Fields inherited from interface edu.uiuc.ncsa.security.core.Store

        VERSION_TAG
    • Constructor Summary

      Constructors 
      Constructor Description
      OLDMonitoredSQLStore()
      Deprecated.
       
      OLDMonitoredSQLStore​(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, javax.inject.Provider<V> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter)
      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.
       
      edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepResponse doUpkeep​(edu.uiuc.ncsa.security.core.util.AbstractEnvironment environment)
      Deprecated.
       
      void fireLastAccessedEvent​(edu.uiuc.ncsa.security.storage.MonitoredStoreInterface store, edu.uiuc.ncsa.security.core.Identifier identifier)
      Deprecated.
       
      V get​(Object o)
      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.
       
      long updateHook​(String action, edu.uiuc.ncsa.security.core.util.AbstractEnvironment environment, List<edu.uiuc.ncsa.security.core.Identifier> identifiers)
      Deprecated.
       
      • Methods inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStore

        checkColumns, checkTable, clear, containsKey, containsValue, crappySQLParser, crappySQLParser, create, depopulate, doRegisterStatement, entrySet, getAll, getCreationTSField, getDerbyMostRecent, getMapConverter, getMostRecentStatement, getTable, getXMLConverter, isEmpty, keySet, populate, put, putAll, register, remove, remove, save, search, search, search, setUpdateValues, size, size, size, toString, update, update, values
      • Methods inherited from class edu.uiuc.ncsa.security.storage.sql.SQLDatabase

        destroyConnection, getConnection, getConnectionPool, releaseConnection, rsToMap, setConnectionPool
      • Methods inherited from interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface

        doUpkeep, hasUpkeepConfiguration
    • Constructor Detail

      • OLDMonitoredSQLStore

        public OLDMonitoredSQLStore​(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
                                    edu.uiuc.ncsa.security.storage.sql.internals.Table table,
                                    javax.inject.Provider<V> identifiableProvider,
                                    edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter)
        Deprecated.
      • OLDMonitoredSQLStore

        public OLDMonitoredSQLStore()
        Deprecated.
    • Method Detail

      • getMostRecent

        public List<V> getMostRecent​(int n,
                                     List<String> attributes)
        Deprecated.
        Specified by:
        getMostRecent in interface edu.uiuc.ncsa.security.core.Store<V extends edu.uiuc.ncsa.security.core.Identifiable>
        Overrides:
        getMostRecent in class edu.uiuc.ncsa.security.storage.sql.SQLStore<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • getLastAccessedEventListeners

        public List<edu.uiuc.ncsa.security.storage.events.LastAccessedEventListener> getLastAccessedEventListeners()
        Deprecated.
        Specified by:
        getLastAccessedEventListeners in interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • getUuid

        public UUID getUuid()
        Deprecated.
        Specified by:
        getUuid in interface edu.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 interface edu.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 interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • isMonitorEnabled

        public boolean isMonitorEnabled()
        Deprecated.
        Specified by:
        isMonitorEnabled in interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • setMonitorEnabled

        public void setMonitorEnabled​(boolean x)
        Deprecated.
        Specified by:
        setMonitorEnabled in interface edu.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 interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • get

        public V get​(Object o)
        Deprecated.
        Specified by:
        get in interface Map<edu.uiuc.ncsa.security.core.Identifier,​V extends edu.uiuc.ncsa.security.core.Identifiable>
        Overrides:
        get in class edu.uiuc.ncsa.security.storage.sql.SQLStore<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • getUpkeepConfiguration

        public edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConfiguration getUpkeepConfiguration()
        Deprecated.
        Specified by:
        getUpkeepConfiguration in interface edu.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 interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • doUpkeep

        public edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepResponse doUpkeep​(edu.uiuc.ncsa.security.core.util.AbstractEnvironment environment)
        Deprecated.
        Specified by:
        doUpkeep in interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>
      • updateHook

        public long updateHook​(String action,
                               edu.uiuc.ncsa.security.core.util.AbstractEnvironment environment,
                               List<edu.uiuc.ncsa.security.core.Identifier> identifiers)
        Deprecated.
        Specified by:
        updateHook in interface edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V extends edu.uiuc.ncsa.security.core.Identifiable>