java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.event.SendEvent
All Implemented Interfaces:
ddf.catalog.event.DeliveryMethod, ddf.catalog.operation.Pingable

public class SendEvent extends Object implements ddf.catalog.event.DeliveryMethod, ddf.catalog.operation.Pingable
SendEvent provides a implementation of DeliveryMethod for sending events to a CSW subscription event endpoint
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
    static final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SendEvent(net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.SecureCxfClientFactory<CswSubscribe> cxfClientFactory)
     
    SendEvent(TransformerManager transformerManager, net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.ClientBuilderFactory clientBuilderFactory, org.codice.ddf.security.Security security)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    created(ddf.catalog.data.Metacard newMetacard)
     
    void
    deleted(ddf.catalog.data.Metacard oldMetacard)
     
    long
     
    int
     
    boolean
     
    void
    updatedHit(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard)
     
    void
    updatedMiss(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard)
     

    Methods inherited from class java.lang.Object

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

    • JITTER_PERCENT

      public static final double JITTER_PERCENT
      See Also:
    • DEFAULT_PING_PERIOD

      public static final long DEFAULT_PING_PERIOD
  • Constructor Details

    • SendEvent

      public SendEvent(TransformerManager transformerManager, net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.ClientBuilderFactory clientBuilderFactory, org.codice.ddf.security.Security security) throws CswException
      Throws:
      CswException
    • SendEvent

      public SendEvent(net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.SecureCxfClientFactory<CswSubscribe> cxfClientFactory) throws CswException
      Throws:
      CswException
  • Method Details

    • created

      public void created(ddf.catalog.data.Metacard newMetacard)
      Specified by:
      created in interface ddf.catalog.event.DeliveryMethod
    • updatedHit

      public void updatedHit(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard)
      Specified by:
      updatedHit in interface ddf.catalog.event.DeliveryMethod
    • updatedMiss

      public void updatedMiss(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard)
      Specified by:
      updatedMiss in interface ddf.catalog.event.DeliveryMethod
    • deleted

      public void deleted(ddf.catalog.data.Metacard oldMetacard)
      Specified by:
      deleted in interface ddf.catalog.event.DeliveryMethod
    • ping

      public boolean ping()
      Specified by:
      ping in interface ddf.catalog.operation.Pingable
    • getLastPing

      public long getLastPing()
    • getRetryCount

      public int getRetryCount()