public class ConnectionsInfoWriter extends Object implements InspectorDataWriter<ConnectionsInfo>, AutoCloseable
Constructor and Description |
---|
ConnectionsInfoWriter(File logDir,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close csv printer
|
void |
write(LocalDateTime now,
ConnectionsInfo data)
Write collected data
|
public ConnectionsInfoWriter(File logDir, String name) throws IOException
IOException
public void close()
close
in interface AutoCloseable
public void write(LocalDateTime now, ConnectionsInfo data)
write
in interface InspectorDataWriter<ConnectionsInfo>
now
- current timedata
- data for printThis documentation was released into the public domain.