Package oracle.ucp.jdbc
Class PoolDataSourceImpl.ConnectionPublisher<ConnectionBuilderType,ConnectionType>
- java.lang.Object
-
- oracle.ucp.jdbc.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectionPublisher(ConnectionBuilderType builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Diagnosable
getDiagnosable()
Only used by the default methods of this interface.void
subscribe(java.util.concurrent.Flow.Subscriber<? super ConnectionType> subscriber)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface oracle.ucp.diagnostics.Diagnosable
beginCurrentSql, debug, debug, endCurrentSql, format, isLoggingLevelFinest, resumeLogging, secure, suspendLogging, trace, trace
-
-
-
-
Constructor Detail
-
ConnectionPublisher
protected ConnectionPublisher(ConnectionBuilderType builder)
-
-
Method Detail
-
subscribe
public void subscribe(java.util.concurrent.Flow.Subscriber<? super ConnectionType> subscriber)
- Specified by:
subscribe
in interfacejava.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 interfaceDiagnosable
- Returns:
-
-