Class RaygunDuplicateErrorFilterFactory

  • All Implemented Interfaces:
    IRaygunSendEventFactory

    public class RaygunDuplicateErrorFilterFactory
    extends Object
    implements IRaygunSendEventFactory
    This factory creates the two filters required for duplicate error detection. For duplicate error detection to work, there must be a shared state between the onBefore and onAfter filters so that onAfter can record the error being sent, and onBefore can check it its been sent. As the factory will be called twice to produce a single filter that will be used for both onBefore and onAfter the factory must ensure the same instance is for the onBefore and onAfter calls
    • Constructor Detail

      • RaygunDuplicateErrorFilterFactory

        public RaygunDuplicateErrorFilterFactory()