Class HBDataConsumer<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Consumer<List<T>>

    public class HBDataConsumer<T>
    extends Object
    implements Consumer<List<T>>
    Process/consume operation for heartbeat data (see HBData). It processes a list of elements at a time, transforms it in an array of JSON and sends a POST request to the heartbeat server.
    Author:
    Ancuta Morarasu
    • Constructor Detail

      • HBDataConsumer

        public HBDataConsumer​(String url)
    • Method Detail