public class SimpleTailSource extends AbstractModuleFixture<SimpleTailSource>
DisposableFileSupportlabel| Constructor and Description |
|---|
SimpleTailSource()
Construct a SimpleTailSource with a file delay of 5 seconds
|
SimpleTailSource(int delayInMillis,
java.lang.String fileName)
Construct a SimpleTailSource using the provided delay and filename
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
toDSL()
Returns a representation of the module suitable for inclusion in a stream definition, e.g.
file --dir=xxxx --name=yyyy |
label, toStringpublic SimpleTailSource()
public SimpleTailSource(int delayInMillis,
java.lang.String fileName)
delayInMillis - millsecond to delay tailingfileName - file to tailprotected java.lang.String toDSL()
AbstractModuleFixturefile --dir=xxxx --name=yyyytoDSL in class AbstractModuleFixture<SimpleTailSource>