public abstract class AbstractNodeTask extends Object implements Runnable
Modifier | Constructor and Description |
---|---|
protected |
AbstractNodeTask(BasicNode node)
The constructor of the node searcher.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the searching/refreshing process.
|
BasicNode |
getNode()
Returns the node that is being searched/refreshed.
|
boolean |
isCanceled()
Tells whether the search/refresh operation is cancelled.
|
abstract void |
run()
The method that is called to refresh/search the node.
|
protected AbstractNodeTask(BasicNode node)
node
- the node to be searched/refreshed.public BasicNode getNode()
public void cancel()
public boolean isCanceled()
true
if the operation is cancelled and
false
otherwise.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.