|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface DataBasedConnectionAffinityCallback
The callback interface for the Oracle RAC Data-based affinity feature.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.ucp.ConnectionAffinityCallback |
|---|
ConnectionAffinityCallback.AffinityPolicy |
| Method Summary | |
|---|---|
int |
getPartitionId()
Obtains the logical partition identifier for data-based affinity. |
boolean |
setDataKey(Object keyObject)
Sets the data key object used by the UCP application inside this callback implementation. |
| Methods inherited from interface oracle.ucp.ConnectionAffinityCallback |
|---|
getAffinityPolicy, getConnectionAffinityContext, setAffinityPolicy, setConnectionAffinityContext |
| Method Detail |
|---|
boolean setDataKey(Object keyObject)
keyObject - Data key object.
true if data key object is successfully set;
false otherwise.int getPartitionId()
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||