/** * {@inheritDoc} */ @Override public List<ExceptionSensorData> getUngroupedExceptionOverview(ExceptionSensorData template, Comparator<? super ExceptionSensorData> comparator) { return this.getUngroupedExceptionOverview(template, -1, null, null, comparator); }
/** * {@inheritDoc} */ @Override public List<TimerData> getAggregatedTimerData(TimerData timerData) { return this.getAggregatedTimerData(timerData, null, null); }
/** * {@inheritDoc} */ @Override public List<InvocationSequenceData> getInvocationSequenceOverview(long platformId, int limit, Comparator<? super InvocationSequenceData> comparator) { return this.getInvocationSequenceOverview(platformId, 0, limit, comparator); }
/** * Constructor. Set thread as daemon and gives it minimum priority. * * @param timerDataAggregator * {@link TimerDataAggregator} to work on. */ public TimerDataAggregatorCacheCleaner(TimerDataAggregator timerDataAggregator) { this.timerDataAggregator = timerDataAggregator; setName("timer-data-aggregator-cache-cleaner-thread"); setDaemon(true); setPriority(MIN_PRIORITY); }
/** * {@inheritDoc} */ @Override public Span get(SpanIdent spanIdent) { return spanDao.get(spanIdent); }
/** * Executes the query on the indexing tree. * * @param indexQuery * Index query to execute. * @param useForkJoin * true, if forkJoinPool should be used * @return Result list. */ protected List<E> executeQuery(IIndexQuery indexQuery, boolean useForkJoin) { return this.executeQuery(indexQuery, null, null, -1, useForkJoin); }
/** * Deletes collection of objects. * * @param objects * Objects to remove. */ public void deleteAll(List<T> objects) { for (T object : objects) { delete(object); } }
/** * {@inheritDoc} */ @Override public <E extends AbstractStorageLabelType<?>> List<E> getLabelTypes(Class<E> labelTypeClass) { return loadAll(labelTypeClass); }
/** * {@inheritDoc} */ @Override public List<AggregatedExceptionSensorData> getDataForGroupedExceptionOverview(ExceptionSensorData template) { return this.getDataForGroupedExceptionOverview(template, null, null); }
/** * {@inheritDoc} */ @Override public List<SqlStatementData> getAggregatedSqlStatements(SqlStatementData sqlStatementData) { return this.getAggregatedSqlStatements(sqlStatementData, null, null); }
/** * {@inheritDoc} */ @Override public List<SqlStatementData> getParameterAggregatedSqlStatements(SqlStatementData sqlStatementData) { return this.getParameterAggregatedSqlStatements(sqlStatementData, null, null); }
/** * {@inheritDoc} */ @Override public List<PlatformIdent> findByName(String agentName) { return findByNameAndIps(agentName, null); }
/** * {@inheritDoc} */ @Override public void removeLabels(Collection<AbstractStorageLabel<?>> labels) { for (AbstractStorageLabel<?> label : labels) { this.removeLabel(label); } }
/** * {@inheritDoc} */ @Override public Collection<? extends Span> getSpans(long traceId) { return spanDao.getSpans(traceId); };
/** * {@inheritDoc} */ @Override public void deleteAll(List<PlatformIdent> platformIdents) { for (PlatformIdent platformIdent : platformIdents) { delete(platformIdent); } }
/** * {@inheritDoc} */ @Override public List<ExceptionSensorData> getUngroupedExceptionOverview(ExceptionSensorData template, int limit, Comparator<? super ExceptionSensorData> comparator) { return this.getUngroupedExceptionOverview(template, limit, null, null, comparator); }
/** * {@inheritDoc} */ @Override public List<InvocationSequenceData> getInvocationSequenceOverview(long platformId, long methodId, int limit, Comparator<? super InvocationSequenceData> comparator) { return this.getInvocationSequenceOverview(platformId, methodId, limit, null, null, comparator); }
/** * Executes the query on the indexing tree. Results can be sorted by comparator. * * @param indexQuery * Index query to execute. * @param comparator * If supplied the final result list will be sorted by this comparator. * @param useForkJoin * true, if forkJoinPool should be used * @return Result list. */ protected List<E> executeQuery(IIndexQuery indexQuery, Comparator<? super E> comparator, boolean useForkJoin) { return this.executeQuery(indexQuery, null, comparator, -1, useForkJoin); }
/** * {@inheritDoc} */ @Override public List<ExceptionSensorData> getUngroupedExceptionOverview(ExceptionSensorData template, Date fromDate, Date toDate, Comparator<? super ExceptionSensorData> comparator) { return this.getUngroupedExceptionOverview(template, -1, fromDate, toDate, comparator); }
/** * {@inheritDoc} */ @Override public List<InvocationSequenceData> getInvocationSequenceOverview(long platformId, int limit, Date fromDate, Date toDate, Comparator<? super InvocationSequenceData> comparator) { return this.getInvocationSequenceOverview(platformId, 0, limit, fromDate, toDate, comparator); }