| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TailFile.TailFileState.StateKeys |
| Modifier and Type | Field and Description |
|---|---|
private ByteBuffer |
buffer |
private Checksum |
checksum |
private File |
file |
private String |
filename |
private long |
length |
private long |
position |
private FileChannel |
reader |
private boolean |
tailingPostRollover |
private long |
timestamp |
| Constructor and Description |
|---|
TailFileState(String filename,
File file,
FileChannel reader,
long position,
long timestamp,
long length,
Checksum checksum,
ByteBuffer buffer) |
TailFileState(String filename,
File file,
FileChannel reader,
long position,
long timestamp,
long length,
Checksum checksum,
ByteBuffer buffer,
boolean tailingPostRollover) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBuffer() |
Checksum |
getChecksum() |
File |
getFile() |
String |
getFilename() |
long |
getLength() |
long |
getPosition() |
FileChannel |
getReader() |
long |
getTimestamp() |
boolean |
isTailingPostRollover() |
Map<String,String> |
toStateMap(int index) |
String |
toString() |
private final String filename
private final File file
private final FileChannel reader
private final long position
private final long timestamp
private final long length
private final Checksum checksum
private final ByteBuffer buffer
private final boolean tailingPostRollover
public TailFileState(String filename, File file, FileChannel reader, long position, long timestamp, long length, Checksum checksum, ByteBuffer buffer)
public TailFileState(String filename, File file, FileChannel reader, long position, long timestamp, long length, Checksum checksum, ByteBuffer buffer, boolean tailingPostRollover)
public String getFilename()
public File getFile()
public FileChannel getReader()
public long getPosition()
public long getTimestamp()
public long getLength()
public Checksum getChecksum()
public ByteBuffer getBuffer()
public boolean isTailingPostRollover()
Copyright © 2023 Apache NiFi Project. All rights reserved.