public class NodeRefresher extends AbstractNodeTask
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeRefresher.State
The enumeration containing all the states the refresher can have.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.forgerock.opendj.ldap.responses.SearchResultEntry> |
getChildEntries()
Returns the child entries of the node.
|
org.forgerock.opendj.ldap.responses.SearchResultEntry |
getDisplayedEntry()
Returns the displayed entry in the browser.
|
LDAPURL |
getDisplayedUrl()
Returns the LDAP URL of the displayed entry in the browser.
|
Exception |
getException()
Returns the exception that occurred during the processing.
|
Object |
getExceptionArg()
Returns the argument of the exception that occurred during the processing.
|
org.forgerock.opendj.ldap.responses.SearchResultEntry |
getLocalEntry()
Returns the local entry the refresher is handling.
|
org.forgerock.opendj.ldap.responses.SearchResultEntry |
getRemoteEntry()
Returns the remote entry for the node.
|
LDAPURL |
getRemoteUrl()
Returns the URL of the remote entry.
|
boolean |
isDifferential()
Returns whether this refresher object is working on differential mode or not.
|
boolean |
isInFinalState()
Returns whether the refresh is over or not.
|
boolean |
isLeafNode()
Tells whether the node is a leaf or not.
|
void |
run()
The method that actually does the refresh.
|
cancel, getNode, isCanceledpublic org.forgerock.opendj.ldap.responses.SearchResultEntry getLocalEntry()
public org.forgerock.opendj.ldap.responses.SearchResultEntry getRemoteEntry()
null if
the entry is not a referral.public LDAPURL getRemoteUrl()
null if
the entry is not a referral.public boolean isLeafNode()
true if the node is a leaf and false otherwise.public List<org.forgerock.opendj.ldap.responses.SearchResultEntry> getChildEntries()
public boolean isDifferential()
true if the refresher is working on differential
mode and false otherwise.public Exception getException()
null if no exception occurred.public Object getExceptionArg()
null if no exception occurred or if the exception
has no arguments.public org.forgerock.opendj.ldap.responses.SearchResultEntry getDisplayedEntry()
public LDAPURL getDisplayedUrl()
public boolean isInFinalState()
true if the refresh is over and false otherwise.public void run()
run in interface Runnablerun in class AbstractNodeTaskCopyright © 2010-2020 Wren Security. All Rights Reserved.