CacheEntryListenerConfiguration.
| Modifier and Type | Field and Description |
|---|---|
| private Factory | filterFactory
The |
| private boolean | isOldValueRequired
Is the old value required to be provide to the |
| private boolean | isSynchronous
Should the |
| private Factory | listenerFactory
The |
| public static final long | serialVersionUID
The serialVersionUID required for |
| Access | Constructor and Description |
|---|---|
| public | MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V> configuration)
Constructs a |
| public | MutableCacheEntryListenerConfiguration(Factory<? extends CacheEntryListener<? super K, ? super V>> listenerFactory, Factory<? extends CacheEntryEventFilter<? super K, ? super V>>
the optional filterFactory, boolean CacheEntryEventFilter Factoryif the old value is required for events with this listenerFactory isOldValueRequired, boolean if the listenerFactory should block the thread causing the event isSynchronous)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. object)Overrides java. |
| public Factory | getCacheEntryEventFilterFactory()
Implements javax. Factory for the CacheEntryEventFilter that should be
applied prior to notifying the CacheEntryListener.
|
| public Factory | getCacheEntryListenerFactory()
Implements javax. Factory for the
CacheEntryListener.
|
| public int | |
| public boolean | isOldValueRequired()
Implements javax. CacheEntryListener.
|
| public boolean | isSynchronous()
Implements javax. CacheEntryListener has been notified.
|
| public MutableCacheEntryListenerConfiguration | Returns: theMutableCacheEntryListenerConfiguration to permit
fluent-style method callsthe filterFactory)Factory, or null if event
filtering is not requriedSets the |
| public MutableCacheEntryListenerConfiguration | Returns: theMutableCacheEntryListenerConfiguration to permit
fluent-style method callsthe listenerFactory)FactorySets the |
| public MutableCacheEntryListenerConfiguration | Returns: theMutableCacheEntryListenerConfiguration to permit
fluent-style method callstrue if the old value is requiredSets if the old value should be provided to the |
| public MutableCacheEntryListenerConfiguration | Returns: theMutableCacheEntryListenerConfiguration to permit
fluent-style method callstrue means block until notifiedSets if the thread that causes an event should be blocked
(not return from the operation causing the event) until the
|
| filterFactory | back to summary |
|---|---|
| private Factory<CacheEntryEventFilter<? super K, ? super V>> filterFactory The | |
| isOldValueRequired | back to summary |
|---|---|
| private boolean isOldValueRequired Is the old value required to be provide to the | |
| isSynchronous | back to summary |
|---|---|
| private boolean isSynchronous Should the | |
| listenerFactory | back to summary |
|---|---|
| private Factory<CacheEntryListener<? super K, ? super V>> listenerFactory The | |
| serialVersionUID | back to summary |
|---|---|
| public static final long serialVersionUID The serialVersionUID required for | |
| MutableCacheEntryListenerConfiguration | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V> configuration) Constructs a
| |
| MutableCacheEntryListenerConfiguration | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration(Factory<? extends CacheEntryListener<? super K, ? super V>> listenerFactory, Factory<? extends CacheEntryEventFilter<? super K, ? super V>> filterFactory, boolean isOldValueRequired, boolean isSynchronous) Constructs a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCacheEntryEventFilterFactory | back to summary |
|---|---|
| public Factory Implements javax. Doc from javax. Obtains the
When
| |
| getCacheEntryListenerFactory | back to summary |
|---|---|
| public Factory Implements javax. Doc from javax. Obtains the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isOldValueRequired | back to summary |
|---|---|
| public boolean isOldValueRequired() Implements javax. Doc from javax. Determines if the old value should be provided to the
| |
| isSynchronous | back to summary |
|---|---|
| public boolean isSynchronous() Implements javax. Doc from javax. Determines if the thread that caused an event to be created should be
blocked (not return from the operation causing the event) until the
| |
| setCacheEntryEventFilterFactory | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration Sets the
| |
| setCacheEntryListenerFactory | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration Sets the
| |
| setOldValueRequired | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration Sets if the old value should be provided to the
| |
| setSynchronous | back to summary |
|---|---|
| public MutableCacheEntryListenerConfiguration Sets if the thread that causes an event should be blocked
(not return from the operation causing the event) until the
| |