VVwE
Version vector with exceptions.
Static Method Summary
| Static Public Methods | ||
| public static |
Get a version vector with exceptions using a JSON. |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(e: Object) |
|
Method Summary
| Public Methods | ||
| public |
Clone of this vvwe. |
|
| public |
Increment the entry of the vector on local update. |
|
| public |
incrementFrom(ec: Pair) Increment from a remote operation. |
|
| public |
Check if the message contains information already delivered. |
|
| public |
Check if the argument are causally ready regards to this vector. |
|
| public |
Merges the version vector in argument with this. |
|
Static Public Methods
Public Constructors
Public Methods
public incrementFrom(ec: Pair) source
Increment from a remote operation.
Params:
| Name | Type | Attribute | Description |
| ec | Pair | The entry and clock of the received event to add supposedly ready. |
public isLower(ec: Pair): * source
Check if the message contains information already delivered.
Params:
| Name | Type | Attribute | Description |
| ec | Pair | the site clock to check. |
Return:
| * |
public isReady(ec: Pair): Boolean source
Check if the argument are causally ready regards to this vector.
Params:
| Name | Type | Attribute | Description |
| ec | Pair | The identifier, i.e., the site clock of the operation that happened-before the current event. |
Return:
| Boolean | true if the event is ready, i.e. the identifier has already been integrated to this vector; false otherwise. |