public class ConnectionKey
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
long |
secondID |
| Constructor and Description |
|---|
ConnectionKey() |
ConnectionKey(UserInfo userInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commitOnConnectionFree()
Whether to commit or rollback the db connection when the connection is freed (i.e.
|
boolean |
equals(java.lang.Object obj)
Compares this object against the specified object.
|
ConnectionKeyLight |
getConKeyLight() |
java.lang.Object |
getCredential()
Get the X509 certificate.
|
java.net.InetAddress |
getInetAddress() |
java.lang.String |
getLoginUserName()
Get the login user name for this connection
|
java.lang.String |
getMTDBUser()
Obtain the database user for multi-tenancy.
|
int |
getTenantID()
Returns the tenantID.
|
java.rmi.server.UID |
getUID() |
int |
hashCode()
Returns a hashcode for this ConnectionKey.
|
boolean |
isPreview() |
void |
setCommitOnConnectionFree(boolean val)
Overrides the default value of
commitOnConnectionFree. |
void |
setInetAddress(java.net.InetAddress setinetAddress) |
void |
setRollbackOnConnectionFree()
Deprecated.
|
void |
setUID(java.rmi.server.UID setuid) |
public ConnectionKey()
public ConnectionKey(UserInfo userInfo)
public boolean isPreview()
public java.rmi.server.UID getUID()
public java.lang.String getLoginUserName()
public java.net.InetAddress getInetAddress()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
true if and only if the argument is
not null and it represents the same Connection key
as this object.equals in class java.lang.Objectpublic java.lang.Object getCredential()
public void setUID(java.rmi.server.UID setuid)
public void setInetAddress(java.net.InetAddress setinetAddress)
public boolean commitOnConnectionFree()
public void setRollbackOnConnectionFree()
public void setCommitOnConnectionFree(boolean val)
commitOnConnectionFree.val - New valuepublic java.lang.String getMTDBUser()
public int getTenantID()
public ConnectionKeyLight getConKeyLight()