Class SubjectTypeCollectionImpl<I>

  • All Implemented Interfaces:
    ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>

    public class SubjectTypeCollectionImpl<I>
    extends Object
    implements ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
    • Method Detail

      • type

        public ca.stellardrift.permissionsex.subject.SubjectType<Itype()
        Specified by:
        type in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • cacheAll

        public void cacheAll()
        Specified by:
        cacheAll in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • activeSubjects

        public Collection<ca.stellardrift.permissionsex.subject.CalculatedSubject> activeSubjects()
        Specified by:
        activeSubjects in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • uncache

        public void uncache​(I identifier)
        Specified by:
        uncache in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • get

        public CompletableFuture<ca.stellardrift.permissionsex.subject.CalculatedSubject> get​(I identifier)
        Specified by:
        get in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • update

        public void update​(ca.stellardrift.permissionsex.datastore.DataStore newDataStore)
        For internal use only. Update the data store associated with this cache, when for example the active data store is changed in the engine.
        Parameters:
        newDataStore - The new data store to work off of
      • load

        public void load​(I identifier)
        Specified by:
        load in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>
      • allIdentifiers

        public Stream<IallIdentifiers()
        Specified by:
        allIdentifiers in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection<I>