protected class MERGE2.FindSubgroupsTask extends java.lang.Object implements Condition
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.Future<?> |
future |
protected java.util.concurrent.locks.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() |
protected java.util.concurrent.Future<?> future
protected final java.util.concurrent.locks.Lock lock
public void start()
public void stop()
public boolean isRunning()
public boolean isMet()
Condition
public void findAndNotify()
protected void _findAndNotify() throws java.lang.InterruptedException
java.lang.InterruptedException
protected void fetchViews() throws java.lang.InterruptedException
java.lang.InterruptedException
protected long computeInterval()
Copyright © 1998-2020 Red Hat. All Rights Reserved.