use of org.jkiss.dbeaver.runtime.qm.DefaultEventFilter in project dbeaver by dbeaver.
the class QueryLogViewer method reloadEvents.
private void reloadEvents() {
DBPPreferenceStore store = DBeaverCore.getGlobalPreferenceStore();
this.entriesPerPage = Math.max(MIN_ENTRIES_PER_PAGE, store.getInt(QMConstants.PROP_ENTRIES_PER_PAGE));
this.defaultFilter = new DefaultEventFilter();
clearLog();
updateMetaInfo(QMUtils.getPastMetaEvents());
}
use of org.jkiss.dbeaver.runtime.qm.DefaultEventFilter in project dbeaver by dbeaver.
the class QueryLogViewer method reloadEvents.
private void reloadEvents(@Nullable String searchString) {
if (reloadInProgress) {
// $NON-NLS-1$
log.debug("Event reload is in progress. Skip");
return;
}
reloadInProgress = true;
DBPPreferenceStore store = DBWorkbench.getPlatform().getPreferenceStore();
this.entriesPerPage = Math.max(MIN_ENTRIES_PER_PAGE, store.getInt(QMConstants.PROP_ENTRIES_PER_PAGE));
this.defaultFilter = new DefaultEventFilter();
clearLog();
// Extract events
EventHistoryReadService loadingService = new EventHistoryReadService(searchString);
LoadingJob.createService(loadingService, new EvenHistoryReadVisualizer(loadingService)).schedule();
}
use of org.jkiss.dbeaver.runtime.qm.DefaultEventFilter in project dbeaver by serge-rider.
the class QueryLogViewer method reloadEvents.
private void reloadEvents() {
DBPPreferenceStore store = DBeaverCore.getGlobalPreferenceStore();
this.entriesPerPage = Math.max(MIN_ENTRIES_PER_PAGE, store.getInt(QMConstants.PROP_ENTRIES_PER_PAGE));
this.defaultFilter = new DefaultEventFilter();
clearLog();
updateMetaInfo(QMUtils.getPastMetaEvents());
}
use of org.jkiss.dbeaver.runtime.qm.DefaultEventFilter in project dbeaver by serge-rider.
the class QueryLogViewer method reloadEvents.
private void reloadEvents(@Nullable String searchString) {
if (reloadInProgress) {
// $NON-NLS-1$
log.debug("Event reload is in progress. Skip");
return;
}
reloadInProgress = true;
DBPPreferenceStore store = DBWorkbench.getPlatform().getPreferenceStore();
this.entriesPerPage = Math.max(MIN_ENTRIES_PER_PAGE, store.getInt(QMConstants.PROP_ENTRIES_PER_PAGE));
this.defaultFilter = new DefaultEventFilter();
clearLog();
// Extract events
EventHistoryReadService loadingService = new EventHistoryReadService(searchString);
LoadingJob.createService(loadingService, new EvenHistoryReadVisualizer(loadingService)).schedule();
}
Aggregations