JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Index
Help
Summary:
Nested
Field
Constr
Method
Detail:
Field
Constr
Method
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH
Package
net.carcdr.ycrdt
Interface YEvent
public interface
YEvent
Represents an event triggered by changes to a Y-CRDT data structure.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
List
<? extends
YChange
>
getChanges
()
Returns the list of changes that occurred.
String
getOrigin
()
Returns the origin identifier for this change.
Object
getTarget
()
Returns the Y-CRDT type that was modified.
Method Details
getTarget
Object
getTarget
()
Returns the Y-CRDT type that was modified.
Returns:
the target object (YText, YArray, YMap, etc.)
getChanges
List
<? extends
YChange
>
getChanges
()
Returns the list of changes that occurred.
Returns:
a list of YChange instances describing the modifications
getOrigin
String
getOrigin
()
Returns the origin identifier for this change.
Returns:
the origin string, or null if not specified