put
void put(Element element)throws IllegalArgumentException,IllegalStateException,CacheException
Put an element in the cache.
Resets the access statistics on the element, which would be the case if it has previously been gotten from a cache, and is now being put back.
Also notifies the CacheEventListener that:
the element was put, but only if the Element was actually put.
if the element exists in the cache, that an update has occurred, even if the element would be expired if it was requested
Parameters:
element - An object. If Serializable it can fully participate in replication and the DiskStore.
Throws:
IllegalStateException - if the cache is not Status.STATUS_ALIVE
IllegalArgumentException - if the element is null
CacheException