Skip navigation links

Oracle® Universal Connection Pool for JDBC Java API Reference
11g Release 2 (11.2)

E12826-01


oracle.ucp
Class UniversalConnectionPoolLifeCycleState

java.lang.Object
  extended by oracle.ucp.UniversalConnectionPoolLifeCycleState


public class UniversalConnectionPoolLifeCycleState
extends java.lang.Object

Type-safe Life Cycle values for the connection pool. A connection pool has a lifecycle. The connection pool only hands out connections when it is in a started state. A connection pool has the following lifecycle states:

See Also:
UniversalConnectionPool

Field Summary
static UniversalConnectionPoolLifeCycleState LIFE_CYCLE_FAILED
          Connection pool has failed.
static java.lang.String LIFE_CYCLE_FAILED_DESC
           
static UniversalConnectionPoolLifeCycleState LIFE_CYCLE_RUNNING
          Connection pool is started and can hand out connections.
static java.lang.String LIFE_CYCLE_RUNNING_DESC
           
static UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STARTING
          Connection pool is starting up.
static java.lang.String LIFE_CYCLE_STARTING_DESC
           
static UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPED
          Connection pool is stopped.
static java.lang.String LIFE_CYCLE_STOPPED_DESC
           
static UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPING
          Connection pool is stopping.
static java.lang.String LIFE_CYCLE_STOPPING_DESC
           

 

Method Summary
 boolean equals(java.lang.Object lifeCycleState)
          Determines equality.
protected  int getState()
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

LIFE_CYCLE_STARTING_DESC

public static final java.lang.String LIFE_CYCLE_STARTING_DESC
See Also:
Constant Field Values

LIFE_CYCLE_RUNNING_DESC

public static final java.lang.String LIFE_CYCLE_RUNNING_DESC
See Also:
Constant Field Values

LIFE_CYCLE_STOPPING_DESC

public static final java.lang.String LIFE_CYCLE_STOPPING_DESC
See Also:
Constant Field Values

LIFE_CYCLE_STOPPED_DESC

public static final java.lang.String LIFE_CYCLE_STOPPED_DESC
See Also:
Constant Field Values

LIFE_CYCLE_FAILED_DESC

public static final java.lang.String LIFE_CYCLE_FAILED_DESC
See Also:
Constant Field Values

LIFE_CYCLE_STARTING

public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STARTING
Connection pool is starting up.

LIFE_CYCLE_RUNNING

public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_RUNNING
Connection pool is started and can hand out connections.

LIFE_CYCLE_STOPPING

public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPING
Connection pool is stopping.

LIFE_CYCLE_STOPPED

public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPED
Connection pool is stopped.

LIFE_CYCLE_FAILED

public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_FAILED
Connection pool has failed.

Method Detail

equals

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getState

protected int getState()

Skip navigation links

Oracle® Universal Connection Pool for JDBC Java API Reference
11g Release 2 (11.2)

E12826-01


Copyright © 2008, 2009, Oracle and/or its affiliates. All rights reserved.