|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.pool.CompareValidator
public class CompareValidator
Validates a connection is healthy by performing a compare operation.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
CompareValidator()
Creates a new compare validator. |
|
CompareValidator(CompareRequest cr)
Creates a new compare validator. |
|
| Method Summary | |
|---|---|
CompareRequest |
getCompareRequest()
Returns the compare request. |
void |
setCompareRequest(CompareRequest cr)
Sets the compare request. |
String |
toString()
|
boolean |
validate(Connection c)
Validate the supplied object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public CompareValidator()
public CompareValidator(CompareRequest cr)
cr - to use for compares| Method Detail |
|---|
public CompareRequest getCompareRequest()
public void setCompareRequest(CompareRequest cr)
cr - compare requestpublic boolean validate(Connection c)
validate in interface Validator<Connection>c - object
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||