|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xerox.amazonws.simpledb.SimpleItemCache
public class SimpleItemCache
This interface describes calls that the Domain will make into a caching system. For now, only items are cached by id.
| Constructor Summary | |
|---|---|
SimpleItemCache()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the cache. |
Item |
getItem(String id)
This retrieves an item from the cache. |
List<Item> |
itemSet()
Retrieves a complete list of items in the cache |
void |
putItem(Item i)
Stores an item in the cache. |
void |
removeItem(String id)
Removes an item from the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleItemCache()
| Method Detail |
|---|
public Item getItem(String id)
getItem in interface ItemCacheid - the identifier for the item being retrieved
public void putItem(Item i)
putItem in interface ItemCachei - the item to be storedpublic void removeItem(String id)
removeItem in interface ItemCacheid - the identifier for the item being removedpublic List<Item> itemSet()
itemSet in interface ItemCachepublic void clear()
clear in interface ItemCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||