new LogEntry(payload, term)
Serializable wrapper for an arbitrary JSON object paired with the election term during which it was synchronized.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
payload | object | Key-value pairs. | |
term | number | 0 | Election term. |
- Source