T
- type of ldap objectprotected static class AbstractLdapPool.PooledLdap<T extends BaseLdap> extends Object
PooledLdap
contains an ldap object that is participating in a
pool. Used to track how long an ldap object has been in either the
available or active queues.Modifier and Type | Field and Description |
---|---|
protected static int |
HASH_CODE_SEED
hash code seed.
|
Constructor and Description |
---|
PooledLdap(T t)
Creates a new
PooledLdap with the supplied ldap object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns whether the supplied
Object contains the same data
as this bean. |
long |
getCreatedTime()
Returns the time this object was created.
|
T |
getLdap()
Returns the ldap object.
|
int |
hashCode()
This returns the hash code for this object.
|
protected static final int HASH_CODE_SEED
public PooledLdap(T t)
PooledLdap
with the supplied ldap object.t
- ldap objectpublic T getLdap()
public long getCreatedTime()
public boolean equals(Object o)
Object
contains the same data
as this bean.Copyright © 2019. All rights reserved.