public interface ItemCache extends ItemLifeCycleListener
ItemCache...| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all entries in the ItemCache and free resources.
|
Item |
getItem(ItemState state)
Returns the cached
Item that belongs to the given
ItemState or null if the cache does not
contain that Item. |
itemCreated, itemDestroyed, itemUpdatedItem getItem(ItemState state)
Item that belongs to the given
ItemState or null if the cache does not
contain that Item.state - State of the item that should be retrieved.null if there's no corresponding cache entry.void clear()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.