Class ReaderGroupManagerImpl

  • All Implemented Interfaces:
    ReaderGroupManager, java.lang.AutoCloseable

    public class ReaderGroupManagerImpl
    extends java.lang.Object
    implements ReaderGroupManager
    A stream manager. Used to bootstrap the client.
    • Method Detail

      • deleteReaderGroup

        public void deleteReaderGroup​(java.lang.String groupName)
        Description copied from interface: ReaderGroupManager
        Deletes a reader group, removing any state associated with it. There should be no reader left on the group when this is called. If there are any, the group will be deleted from underneath them and they will encounter exceptions.
        Specified by:
        deleteReaderGroup in interface ReaderGroupManager
        Parameters:
        groupName - The group to be deleted.
      • getReaderGroup

        public ReaderGroup getReaderGroup​(java.lang.String groupName)
        Description copied from interface: ReaderGroupManager
        Returns the requested reader group.
        Specified by:
        getReaderGroup in interface ReaderGroupManager
        Parameters:
        groupName - The name of the group
        Returns:
        Reader group with the given name
      • close

        public void close()
        Description copied from interface: ReaderGroupManager
        Close this manager class. This will close any connections created through it.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface ReaderGroupManager
        See Also:
        AutoCloseable.close()