Package com.logviewer.web.session
Class LocalFileRecordSearcher
java.lang.Object
com.logviewer.web.session.LocalFileRecordSearcher
- All Implemented Interfaces:
LogProcess
-
Constructor Summary
ConstructorsConstructorDescriptionLocalFileRecordSearcher(Supplier<Snapshot> snapshotFactory, ExecutorService executor, Position start, boolean backward, RecordPredicate filter, String hash, int recordCount, SearchPattern pattern, Consumer<SearchResult> listener) -
Method Summary
-
Constructor Details
-
LocalFileRecordSearcher
public LocalFileRecordSearcher(Supplier<Snapshot> snapshotFactory, ExecutorService executor, Position start, boolean backward, RecordPredicate filter, String hash, int recordCount, SearchPattern pattern, Consumer<SearchResult> listener)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceLogProcess
-
cancel
public void cancel()- Specified by:
cancelin interfaceLogProcess
-
setTimeLimit
public void setTimeLimit(long limit) - Specified by:
setTimeLimitin interfaceLogProcess
-