Package oracle.ucp

Class UniversalPooledConnectionStatus

java.lang.Object
oracle.ucp.UniversalPooledConnectionStatus

public class UniversalPooledConnectionStatus extends Object
Describes the status of a pooled connection.

The status of the pooled connection is looked at when the connection is returned by the borrower. If the status is normal, then the pooled connection is processed normally. If the status is close on return, then the pooled connection is automatically closed and it is not returned to the connection pool.

  • Field Details

  • Method Details

    • equals

      public boolean equals(Object other)
      Determines equality.
      Overrides:
      equals in class Object
      Parameters:
      other - The object to compare.
      Returns:
      true if this object is equal to the object passed in; otherwise, false.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStatus

      protected int getStatus()