Package overit.geocall.io.tracer
Class FileLogBuffer
java.lang.Object
overit.geocall.io.tracer.FileLogBuffer
buffer that collects and saves all the logs that must be saved into the file system
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
size
protected final int size -
buffer
-
-
Constructor Details
-
FileLogBuffer
public FileLogBuffer()
-
-
Method Details
-
doProcess
saves all the logs in the buffer- Throws:
DAValidateException- in case of validation error during the logs savingDAException- in caso of error with the FS or DB
-
flush
protected void flush()
-