|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PushStatsBatchUpdaterService
Performs a batch update of push statistics to storage.
| Method Summary | |
|---|---|
void |
addPushStatsUpdate(PushStats pushStats)
Adds a push stats object to the list of updates to be batched. |
void |
destroy()
Attempts to stop threads when the bean is destroyed. |
int |
getPushStatsQueueSize()
Returns the size of the queue holding push stats waiting to be batched and processed. |
void |
resetRunningContentSum(String pushApplicationId)
When a reset is called, find all push stats objects in the list of updates and set their contribution to the running content sum to 0. |
void |
resetRunningPushCount(String pushApplicationId)
When a reset is called, find all push stats objects in the list of updates and set their contribution to the running push count to 0. |
void |
run()
Performs a batch update of several push stats objects to storage. |
void |
setPushSDKProperties(PushSDKProperties pushSDKProperties)
Support for dependency injection. |
void |
setPushStatsDAO(PushStatsDAO pushStatsDAO)
Support for dependency injection. |
| Method Detail |
|---|
void addPushStatsUpdate(PushStats pushStats)
pushStats - the push stats objectvoid run()
run in interface Runnablevoid resetRunningPushCount(String pushApplicationId)
pushApplicationId - the push application idvoid resetRunningContentSum(String pushApplicationId)
pushApplicationId - the push application idint getPushStatsQueueSize()
void destroy()
void setPushStatsDAO(PushStatsDAO pushStatsDAO)
PushStatsDAO to use.
pushStatsDAO - the Push Stats Data Access Objectvoid setPushSDKProperties(PushSDKProperties pushSDKProperties)
PushSDKProperties implementation.
pushSDKProperties - the Push SDK Properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||