Class HitQueuing

  • All Implemented Interfaces:

    
    public abstract class HitQueuing
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HitQueuing()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean queue(DataEntity entity) Queues a DataEntity to be processed
      abstract void beginProcessing() Puts the Queue in non-suspended state and begin processing hits
      abstract void suspend() Puts the Queue in suspended state and discontinue processing hits
      abstract void clear() Removes all the persisted hits from the queue
      abstract int count() Returns the number of items in the queue
      abstract void close() Close the current HitQueuing
      void handlePrivacyChange(MobilePrivacyStatus privacyStatus)
      • Methods inherited from class java.lang.Object

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

      • HitQueuing

        HitQueuing()
    • Method Detail

      • queue

         abstract boolean queue(DataEntity entity)

        Queues a DataEntity to be processed

        Parameters:
        entity - the entity to be processed
        Returns:

        a boolean indication whether queuing the entity was successful or not

      • beginProcessing

         abstract void beginProcessing()

        Puts the Queue in non-suspended state and begin processing hits

      • suspend

         abstract void suspend()

        Puts the Queue in suspended state and discontinue processing hits

      • clear

         abstract void clear()

        Removes all the persisted hits from the queue

      • count

         abstract int count()

        Returns the number of items in the queue

      • close

         abstract void close()

        Close the current HitQueuing