hamok
Version:
Lightweight Distributed Object Storage on RAFT consensus algorithm
27 lines (26 loc) • 934 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndpointStatesNotification = void 0;
class EndpointStatesNotification {
sourceEndpointId;
destinationEndpointId;
term;
commitIndex;
leaderNextIndex;
numberOfLogs;
activeEndpointIds;
snapshot;
requestId;
constructor(sourceEndpointId, destinationEndpointId, term, commitIndex, leaderNextIndex, numberOfLogs, activeEndpointIds, snapshot, requestId) {
this.sourceEndpointId = sourceEndpointId;
this.destinationEndpointId = destinationEndpointId;
this.term = term;
this.commitIndex = commitIndex;
this.leaderNextIndex = leaderNextIndex;
this.numberOfLogs = numberOfLogs;
this.activeEndpointIds = activeEndpointIds;
this.snapshot = snapshot;
this.requestId = requestId;
}
}
exports.EndpointStatesNotification = EndpointStatesNotification;