protected class MERGE2.FindSubgroupsTask extends Object implements Condition
Modifier and Type | Field and Description |
---|---|
protected Future<?> |
future |
protected Lock |
lock |
Modifier | Constructor and Description |
---|---|
protected |
FindSubgroupsTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
_findAndNotify() |
protected long |
computeInterval()
Returns a random value within [min_interval - max_interval]
|
protected void |
fetchViews()
Fetches views from members in the cluster.
|
void |
findAndNotify() |
boolean |
isMet()
Return true if the condition is met and false otherwise
|
boolean |
isRunning() |
void |
start() |
void |
stop() |
public void start()
public void stop()
public boolean isRunning()
public boolean isMet()
Condition
public void findAndNotify()
protected void _findAndNotify() throws InterruptedException
InterruptedException
protected void fetchViews() throws InterruptedException
InterruptedException
protected long computeInterval()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.