Passes a data point off to the storage handler plugin if it has been configured. @param tsdb The TSDB from which to grab the SEH plugin @param dp The data point to process @param e The exception that caused this
(final TSDB tsdb, final IncomingDataPoint dp,
final Exception e)
| 834 | * @param e The exception that caused this |
| 835 | */ |
| 836 | void handleStorageException(final TSDB tsdb, final IncomingDataPoint dp, |
| 837 | final Exception e) { |
| 838 | final StorageExceptionHandler handler = tsdb.getStorageExceptionHandler(); |
| 839 | if (handler != null) { |
| 840 | handler.handleError(dp, e); |
| 841 | } |
| 842 | } |
| 843 | |
| 844 | private void checkAuthorization(final TSDB tsdb, final HttpQuery query) { |
| 845 | if (tsdb.getConfig().getBoolean("tsd.core.authentication.enable")) { |
no test coverage detected