|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2000, 2022, Oracle and/or its affiliates. |
| 2 | + * Copyright (c) 2000, 2024, Oracle and/or its affiliates. |
3 | 3 | *
|
4 | 4 | * Licensed under the Universal Permissive License v 1.0 as shown at
|
5 |
| - * http://oss.oracle.com/licenses/upl. |
| 5 | + * https://oss.oracle.com/licenses/upl. |
6 | 6 | */
|
7 | 7 | #ifndef COH_CACHE_EVENT_HPP
|
8 | 8 | #define COH_CACHE_EVENT_HPP
|
@@ -32,6 +32,13 @@ using coherence::util::ObservableMap;
|
32 | 32 | * same event could be as well caused by a client call to a get() method that
|
33 | 33 | * in turn forces an entry insertion by a cache loader.
|
34 | 34 | *
|
| 35 | +* Not all cache service types support the dispatching of synthetic events. |
| 36 | +* Synthetic events will only be dispatched by a partitioned cache service |
| 37 | +* and its derivatives, such as a federated cache service, or by near, view, |
| 38 | +* or remote caches that are backed by a cache service that supports the |
| 39 | +* dispatching of synthetic events. In all other cases, no event will be dispatched |
| 40 | +* for synthetic events such as expiry. |
| 41 | +* |
35 | 42 | * @author js 2008.06.06
|
36 | 43 | */
|
37 | 44 | class COH_EXPORT CacheEvent
|
@@ -125,7 +132,7 @@ class COH_EXPORT CacheEvent
|
125 | 132 | */
|
126 | 133 | CacheEvent(ObservableMap::Handle hMap, int32_t nId,
|
127 | 134 | Object::View voKey, Object::View voValueOld,
|
128 |
| - Object::View voValueNew, bool fSynthetic, |
| 135 | + Object::View voValueNew, bool fSynthetic, |
129 | 136 | TransformationState nTransformState);
|
130 | 137 |
|
131 | 138 | /**
|
@@ -181,7 +188,6 @@ class COH_EXPORT CacheEvent
|
181 | 188 | */
|
182 | 189 | CacheEvent(const CacheEvent&);
|
183 | 190 |
|
184 |
| - |
185 | 191 | // ----- CacheEvent interface -------------------------------------------
|
186 | 192 |
|
187 | 193 | public:
|
@@ -264,4 +270,3 @@ class COH_EXPORT CacheEvent
|
264 | 270 | COH_CLOSE_NAMESPACE3
|
265 | 271 |
|
266 | 272 | #endif // COH_CACHE_EVENT_HPP
|
267 |
| - |
|
0 commit comments