Package io.oxia.client.api
Interface Notification
- All Known Implementing Classes:
Notification.KeyCreated,Notification.KeyDeleted,Notification.KeyModified,Notification.KeyRangeDelete
public sealed interface Notification
permits Notification.KeyCreated, Notification.KeyDeleted, Notification.KeyModified, Notification.KeyRangeDelete
A notification from an Oxia server indicating a change to a record associated with a key.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA record associated with the key has been created.static final recordThe record associated with the key has been deleted.static final recordThe record associated with the key has been modified (updated).static final recordThe record associated with the key range has been deleted. -
Method Summary
-
Method Details
-
key
String key()- Returns:
- The key of the record.
-