Interface Store<T>

  • Type Parameters:
    T - the object type stored.
    All Known Subinterfaces:
    PKIXCertStore<T>, PKIXCRLStore<T>
    All Known Implementing Classes:
    CollectionStore

    public interface Store<T>
    A generic interface describing a simple store of objects.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection<T> getMatches​(Selector<T> selector)
      Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
    • Method Detail

      • getMatches

        java.util.Collection<T> getMatches​(Selector<T> selector)
                                    throws StoreException
        Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
        Parameters:
        selector - the selector defining the match criteria.
        Returns:
        a collection of matching objects, empty if none available.
        Throws:
        StoreException - if there is a failure during matching.