Class ElasticsearchPerformanceDiagnostics.PerformanceContext
- Namespace
- Excalibur.Data.ElasticSearch.Monitoring
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents the context for tracking performance of an individual operation.
public sealed class ElasticsearchPerformanceDiagnostics.PerformanceContext : IDisposable
- Inheritance
-
ElasticsearchPerformanceDiagnostics.PerformanceContext
- Implements
- Inherited Members
Methods
Complete(TransportResponse?)
Completes the performance tracking for the operation.
public void Complete(TransportResponse? response = null)
Parameters
responseTransportResponseThe Elasticsearch response.
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()