|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.push.stats.PushStatsMemoryDataStore
public class PushStatsMemoryDataStore
Represents in-memory storage of push stats data.
Warning: For testing use only. It is not meant for production use.
| Constructor Summary | |
|---|---|
PushStatsMemoryDataStore()
|
|
| Method Summary | |
|---|---|
PushStats |
loadFromStore(String appId)
Loads a push stats object from in-memory storage. |
List<String> |
loadKeysFromStore()
Loads the keys (app ids) for the push stats currently in memory. |
PushStats |
removeFromStore(String appId)
Removes a push stats object from memory. |
void |
saveInStore(String appId,
PushStats pushStats)
Saves a push stats object in memory. |
void |
setCache(net.sf.ehcache.Cache cache)
Sets the cache to be used for storing push stats data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PushStatsMemoryDataStore()
| Method Detail |
|---|
public void setCache(net.sf.ehcache.Cache cache)
cache - the cache for storing push stats datapublic PushStats loadFromStore(String appId)
appId - the id of the push application
public List<String> loadKeysFromStore()
public void saveInStore(String appId,
PushStats pushStats)
appId - the id of the push applicationpushStats - the push stats object to be storedpublic PushStats removeFromStore(String appId)
appId - the id of the push application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||