public interface ItemCache extends ItemLifeCycleListener
ItemCache
...Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all entries in the ItemCache and free resources.
|
javax.jcr.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, itemUpdated
javax.jcr.Item 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-2020 The Apache Software Foundation. All Rights Reserved.