Package 

Interface RequestFactory


  • 
    public interface RequestFactory
    
                        

    Factory used to build requests from the batches stored.

    • Method Summary

      Modifier and Type Method Description
      abstract Request create(DatadogContext context, List<ByteArray> batchData, ByteArray batchMetadata) Creates a request for the given batch.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

         abstract Request create(DatadogContext context, List<ByteArray> batchData, ByteArray batchMetadata)

        Creates a request for the given batch.

        Parameters:
        context - Datadog SDK context.
        batchData - Raw data of the batch.
        batchMetadata - Raw metadata of the batch.