Class CatalogMetrics

java.lang.Object
ddf.catalog.metrics.CatalogMetrics
All Implemented Interfaces:
ddf.catalog.plugin.PostIngestPlugin, ddf.catalog.plugin.PostQueryPlugin, ddf.catalog.plugin.PostResourcePlugin, ddf.catalog.plugin.PreIngestPlugin, ddf.catalog.plugin.PreQueryPlugin, ddf.catalog.plugin.PreResourcePlugin

public final class CatalogMetrics extends Object implements ddf.catalog.plugin.PreQueryPlugin, ddf.catalog.plugin.PostQueryPlugin, ddf.catalog.plugin.PreIngestPlugin, ddf.catalog.plugin.PostIngestPlugin, ddf.catalog.plugin.PreResourcePlugin, ddf.catalog.plugin.PostResourcePlugin
Catalog plug-in to capture metrics on catalog operations.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CatalogMetrics(ddf.catalog.filter.FilterAdapter filterAdapter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ddf.catalog.operation.CreateRequest
    process(ddf.catalog.operation.CreateRequest input)
     
    ddf.catalog.operation.CreateResponse
    process(ddf.catalog.operation.CreateResponse input)
     
    ddf.catalog.operation.DeleteRequest
    process(ddf.catalog.operation.DeleteRequest input)
     
    ddf.catalog.operation.DeleteResponse
    process(ddf.catalog.operation.DeleteResponse input)
     
    ddf.catalog.operation.QueryRequest
    process(ddf.catalog.operation.QueryRequest input)
     
    ddf.catalog.operation.QueryResponse
    process(ddf.catalog.operation.QueryResponse input)
     
    ddf.catalog.operation.ResourceRequest
    process(ddf.catalog.operation.ResourceRequest input)
     
    ddf.catalog.operation.ResourceResponse
    process(ddf.catalog.operation.ResourceResponse input)
     
    ddf.catalog.operation.UpdateRequest
    process(ddf.catalog.operation.UpdateRequest input)
     
    ddf.catalog.operation.UpdateResponse
    process(ddf.catalog.operation.UpdateResponse input)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CatalogMetrics

      public CatalogMetrics(ddf.catalog.filter.FilterAdapter filterAdapter)
  • Method Details

    • process

      public ddf.catalog.operation.QueryRequest process(ddf.catalog.operation.QueryRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreQueryPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.QueryResponse process(ddf.catalog.operation.QueryResponse input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PostQueryPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.CreateRequest process(ddf.catalog.operation.CreateRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.CreateResponse process(ddf.catalog.operation.CreateResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.UpdateRequest process(ddf.catalog.operation.UpdateRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.UpdateResponse process(ddf.catalog.operation.UpdateResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.DeleteRequest process(ddf.catalog.operation.DeleteRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.DeleteResponse process(ddf.catalog.operation.DeleteResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.ResourceRequest process(ddf.catalog.operation.ResourceRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreResourcePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.ResourceResponse process(ddf.catalog.operation.ResourceResponse input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PostResourcePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException