Class TXMemoryStore<V extends TXRecord>

  • All Implemented Interfaces:
    TXStore<V>, edu.uiuc.ncsa.security.core.Store<V>, Serializable, Cloneable, Map<edu.uiuc.ncsa.security.core.Identifier,​V>

    public class TXMemoryStore<V extends TXRecord>
    extends edu.uiuc.ncsa.security.storage.MemoryStore<V>
    implements TXStore<V>

    Created by Jeff Gaynor
    on 12/14/20 at 10:37 AM

    See Also:
    Serialized Form
    • Method Detail

      • getXMLConverter

        public edu.uiuc.ncsa.security.core.XMLConverter<V> getXMLConverter()
        Specified by:
        getXMLConverter in interface edu.uiuc.ncsa.security.core.Store<V extends TXRecord>
      • getMapConverter

        public edu.uiuc.ncsa.security.storage.data.MapConverter<V> getMapConverter()
        Specified by:
        getMapConverter in interface TXStore<V extends TXRecord>
        Overrides:
        getMapConverter in class edu.uiuc.ncsa.security.storage.MemoryStore<V extends TXRecord>
      • getByParentID

        public List<V> getByParentID​(edu.uiuc.ncsa.security.core.Identifier parentID)
        Description copied from interface: TXStore
        Get a list of all records for a given parent.
        Specified by:
        getByParentID in interface TXStore<V extends TXRecord>
        Returns:
      • getCountByParent

        public int getCountByParent​(edu.uiuc.ncsa.security.core.Identifier parentID)
        Specified by:
        getCountByParent in interface TXStore<V extends TXRecord>
      • getMostRecent

        public List<V> getMostRecent​(int n,
                                     List<String> attributes)
        Specified by:
        getMostRecent in interface edu.uiuc.ncsa.security.core.Store<V extends TXRecord>