Class PoolDataSourceImpl.ConnectionPublisher<ConnectionBuilderType,​ConnectionType>

  • All Implemented Interfaces:
    java.util.concurrent.Flow.Publisher<ConnectionType>, Diagnosable
    Enclosing class:
    PoolDataSourceImpl

    protected class PoolDataSourceImpl.ConnectionPublisher<ConnectionBuilderType,​ConnectionType>
    extends java.lang.Object
    implements java.util.concurrent.Flow.Publisher<ConnectionType>, Diagnosable
    • Method Detail

      • subscribe

        public void subscribe​(java.util.concurrent.Flow.Subscriber<? super ConnectionType> subscriber)
        Specified by:
        subscribe in interface java.util.concurrent.Flow.Publisher<ConnectionBuilderType>
      • getDiagnosable

        public Diagnosable getDiagnosable()
        Description copied from interface: Diagnosable
        Only used by the default methods of this interface. No other code should use it. Every class that implements this interface must either override this method to return a Diagnosable that actually implements the other methods or override the other methods to actually implement their defined behavior. It is not necessary or appropriate to do both.
        Specified by:
        getDiagnosable in interface Diagnosable
        Returns: