public class SleepIfFullStrategy extends Object implements PipeElementInsertionStrategy
| Constructor and Description |
|---|
SleepIfFullStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IPipe<?> pipe,
Object element)
Adds the given element to the given pipe.
|
int |
getNumWaits() |
public void add(IPipe<?> pipe, Object element)
PipeElementInsertionStrategyadd in interface PipeElementInsertionStrategypipe - to be usedelement - to be addedpublic int getNumWaits()
Copyright © 2015–2020. All rights reserved.