| Modifier and Type | Field and Description |
|---|---|
| public static final NotificationScope | ALL
Receive all events |
| private final boolean | |
| private final boolean | |
| public static final NotificationScope | LOCAL
Receive only events generated by this CacheManager |
| public static final NotificationScope | REMOTE
Receive only events generated by another CacheManager |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if the event should be delivered to a listener with this notification scopeWhether the event is local or remote isRemote)Determine whether an event should be delivered under this notification scope. |
| public static NotificationScope | |
| public static NotificationScope[] |
| ALL | back to summary |
|---|---|
| public static final NotificationScope ALL Receive all events | |
| deliverLocal | back to summary |
|---|---|
| private final boolean deliverLocal | |
| deliverRemote | back to summary |
|---|---|
| private final boolean deliverRemote | |
| LOCAL | back to summary |
|---|---|
| public static final NotificationScope LOCAL Receive only events generated by this CacheManager | |
| REMOTE | back to summary |
|---|---|
| public static final NotificationScope REMOTE Receive only events generated by another CacheManager | |
| NotificationScope | back to summary |
|---|---|
| private NotificationScope(boolean deliverLocal, boolean deliverRemote) | |
| shouldDeliver | back to summary |
|---|---|
| public boolean shouldDeliver(boolean isRemote) Determine whether an event should be delivered under this notification scope.
| |
| valueOf | back to summary |
|---|---|
| public static NotificationScope valueOf(String name) | |
| values | back to summary |
|---|---|
| public static NotificationScope[] values() | |