| Package | Description |
|---|---|
| org.apache.commons.jcs3.engine.control |
The primary cache classes and the hub.
|
| org.apache.commons.jcs3.engine.control.event | |
| org.apache.commons.jcs3.engine.control.event.behavior |
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeCache.handleElementEvent(ICacheElement<K,V> element,
ElementEventType eventType)
If there are event handlers for the item, then create an event and queue it up.
|
boolean |
CompositeCache.isExpired(ICacheElement<K,V> element,
long timestamp,
ElementEventType eventMaxlife,
ElementEventType eventIdle)
Check if the element is expired based on the values of the element attributes
|
| Modifier and Type | Method and Description |
|---|---|
ElementEventType |
ElementEvent.getElementEvent()
Gets the elementEvent attribute of the ElementEvent object
|
| Constructor and Description |
|---|
ElementEvent(T source,
ElementEventType elementEvent)
Constructor for the ElementEvent object
|
| Modifier and Type | Method and Description |
|---|---|
ElementEventType |
IElementEvent.getElementEvent()
Gets the elementEvent attribute of the IElementEvent object.
|
static ElementEventType |
ElementEventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementEventType[] |
ElementEventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.