public class SimpleTailSource extends AbstractModuleFixture<SimpleTailSource>
DisposableFileSupport
label
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, toString
public SimpleTailSource()
public SimpleTailSource(int delayInMillis, java.lang.String fileName)
delayInMillis
- millsecond to delay tailingfileName
- file to tailprotected java.lang.String toDSL()
AbstractModuleFixture
file --dir=xxxx --name=yyyy
toDSL
in class AbstractModuleFixture<SimpleTailSource>