Class HitQueuing
-
- All Implemented Interfaces:
public abstract class HitQueuing
-
-
Constructor Summary
Constructors Constructor Description HitQueuing()
-
Method Summary
Modifier and Type Method Description abstract booleanqueue(DataEntity entity)Queues a DataEntity to be processed abstract voidbeginProcessing()Puts the Queue in non-suspended state and begin processing hits abstract voidsuspend()Puts the Queue in suspended state and discontinue processing hits abstract voidclear()Removes all the persisted hits from the queue abstract intcount()Returns the number of items in the queue abstract voidclose()Close the current HitQueuingvoidhandlePrivacyChange(MobilePrivacyStatus privacyStatus)-
-
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
-
handlePrivacyChange
void handlePrivacyChange(MobilePrivacyStatus privacyStatus)
-
-
-
-