hamok
Version:
Lightweight Distributed Object Storage on RAFT consensus algorithm
16 lines (15 loc) • 543 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StorageStateNotification = void 0;
class StorageStateNotification {
sourceEndpointId;
commitIndex;
serializedStorageSnapshot;
constructor(sourceEndpointId, commitIndex, serializedStorageSnapshot) {
this.sourceEndpointId = sourceEndpointId;
this.commitIndex = commitIndex;
this.serializedStorageSnapshot = serializedStorageSnapshot;
// empty
}
}
exports.StorageStateNotification = StorageStateNotification;