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